Skip to main content

TokenInfo Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Token.Interfaces

TokenInfo Class

Identity of an issued token, recorded against an authorization grant so that the token can be revoked by JTI if the grant is later invalidated (for example when an authorization code is reused).

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

Inheritance System.Object → TokenInfo

Implements System.IEquatable<TokenInfo>

Constructors

TokenInfo(string, DateTimeOffset) Constructor

Identity of an issued token, recorded against an authorization grant so that the token can be revoked by JTI if the grant is later invalidated (for example when an authorization code is reused).

public TokenInfo(string JwtId, System.DateTimeOffset ExpiresAt);

Parameters

JwtId System.String

The token's jti claim.

ExpiresAt System.DateTimeOffset

When the token expires; used to expire the revocation record alongside the token itself.

Properties

TokenInfo.ExpiresAt Property

When the token expires; used to expire the revocation record alongside the token itself.

public System.DateTimeOffset ExpiresAt { get; init; }

Property Value

System.DateTimeOffset

TokenInfo.JwtId Property

The token's jti claim.

public string JwtId { get; init; }

Property Value

System.String