Skip to main content
Table of Contents

Class AccessTokenInfo

Namespace
Stratara.Identity.Core.Models
Assembly
Stratara.Identity.Core.dll

Holds the information about the currently issued access token: the authenticated user's email, the raw LoginResponse from the identity endpoint, and the absolute expiration timestamp of the access token. Persisted in client-side secure storage to survive app restarts.

[ExcludeFromCodeCoverage]
public sealed class AccessTokenInfo
Inheritance
AccessTokenInfo
Inherited Members
Extension Methods

Remarks

Sensitive data. Because LoginResponse embeds the access token and the refresh token (see the security remarks on LoginResponse), the whole AccessTokenInfo instance must be treated as a secret: persist only in encrypted / platform-secure storage, never log it, never serialize it to observability sinks without redacting the embedded tokens first.

Properties

AccessTokenExpiration

Absolute UTC timestamp at which the access token expires.

public required DateTimeOffset AccessTokenExpiration { get; set; }

Property Value

DateTimeOffset

Email

Email address of the authenticated user.

public required string Email { get; set; }

Property Value

string

LoginResponse

The login response payload returned by the identity endpoint when the token was issued.

public required LoginResponse LoginResponse { get; set; }

Property Value

LoginResponse

Remarks

Contains the access and refresh tokens — see LoginResponse for the secret-handling requirements that apply to this property.