Skip to main content

TokenIssued Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Token.Interfaces

TokenIssued Class

Successful token endpoint response per RFC 6749 §5.1, optionally extended with the OIDC Core 1.0 §3.1.3.3 id_token.

public record TokenIssued : System.IEquatable<Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued>

Inheritance System.Object → TokenIssued

Implements System.IEquatable<TokenIssued>

Constructors

TokenIssued(EncodedJsonWebToken, string, TimeSpan, Uri) Constructor

Successful token endpoint response per RFC 6749 §5.1, optionally extended with the OIDC Core 1.0 §3.1.3.3 id_token.

public TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken AccessToken, string TokenType, System.TimeSpan ExpiresIn, System.Uri IssuedTokenType);

Parameters

AccessToken EncodedJsonWebToken

The issued access token (access_token).

TokenType System.String

The token_type, typically Bearer (RFC 6750).

ExpiresIn System.TimeSpan

Lifetime returned as expires_in.

IssuedTokenType System.Uri

URI identifying the type of the issued token, used by RFC 8693 token exchange.

Properties

TokenIssued.AccessToken Property

The issued access token (access_token).

public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken AccessToken { get; init; }

Property Value

EncodedJsonWebToken

TokenIssued.AuthorizationDetails Property

The RFC 9396 authorization_details assigned to the access token as the raw System.Text.Json.Nodes.JsonArray, surfaced byte-exact in the JSON token response per RFC 9396 §7 (MUST). null when no RAR was used.

public System.Text.Json.Nodes.JsonArray? AuthorizationDetails { get; init; }

Property Value

System.Text.Json.Nodes.JsonArray

TokenIssued.ExpiresIn Property

Lifetime returned as expires_in.

public System.TimeSpan ExpiresIn { get; init; }

Property Value

System.TimeSpan

TokenIssued.IdToken Property

An ID token that provides identity information about the user.

public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken? IdToken { get; set; }

Property Value

EncodedJsonWebToken

TokenIssued.IssuedTokenType Property

URI identifying the type of the issued token, used by RFC 8693 token exchange.

public System.Uri IssuedTokenType { get; init; }

Property Value

System.Uri

TokenIssued.RefreshToken Property

The optional refresh token that can be used to obtain new access tokens.

public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken? RefreshToken { get; set; }

Property Value

EncodedJsonWebToken

TokenIssued.Scope Property

The scopes associated with the access token issued. Scopes indicate the permissions granted to the access token.

public System.Collections.Generic.IEnumerable<string> Scope { get; }

Property Value

System.Collections.Generic.IEnumerable<System.String>

TokenIssued.TokenType Property

The token_type, typically Bearer (RFC 6750).

public string TokenType { get; init; }

Property Value

System.String