Aller au contenu
Abblix
Cette page n'a pas encore été traduite.

AuthenticationRequestIdGenerator Class

Generates a unique authentication request ID using a cryptographically secure random number generator. This ID is encoded for safe use in URLs and is typically used in backchannel authentication flows.

C#
public class AuthenticationRequestIdGenerator : Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.IAuthenticationRequestIdGenerator

Inheritance System.Object → AuthenticationRequestIdGenerator

Implements IAuthenticationRequestIdGenerator

Constructors

AuthenticationRequestIdGenerator(IOptions<OidcOptions>) Constructor

Generates a unique authentication request ID using a cryptographically secure random number generator. This ID is encoded for safe use in URLs and is typically used in backchannel authentication flows.

C#
public AuthenticationRequestIdGenerator(Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options);

Parameters

options Microsoft.Extensions.Options.IOptions<OidcOptions>

The configuration options for OIDC, including settings for backchannel authentication.

Methods

AuthenticationRequestIdGenerator.GenerateAuthenticationRequestId() Method

Generates a unique authentication request ID by creating a cryptographically secure random byte array and encoding it for safe use in URLs.

C#
public string GenerateAuthenticationRequestId();

Implements GenerateAuthenticationRequestId()

Returns

System.String
A URL-safe, base64-encoded authentication request ID.