Skip to main content

ITokenIdGenerator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.RandomGenerators

ITokenIdGenerator Interface

Produces unique identifiers for JSON Web Tokens, used as the jti claim defined in RFC 7519 §4.1.7. A unique jti per token is required to support replay detection and one-time token semantics, so implementations must generate values with sufficient entropy to make collisions and guessing impractical.

public interface ITokenIdGenerator

Derived
TokenIdGenerator

Methods

ITokenIdGenerator.GenerateTokenId() Method

Generates a new unique identifier suitable for the jti claim of a JWT.

string GenerateTokenId();

Returns

System.String
A unique identifier suitable for use as a JWT ID.