Skip to main content

IAuthorizationCodeGenerator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.RandomGenerators

IAuthorizationCodeGenerator Interface

Defines a contract for generating unique authorization codes for use in OAuth 2.0 authorization code flows. Implementations of this interface should ensure that the generated codes are cryptographically secure and suitable for one-time use in authenticating and authorizing access.

public interface IAuthorizationCodeGenerator

Derived
AuthorizationCodeGenerator

Methods

IAuthorizationCodeGenerator.GenerateAuthorizationCode() Method

Generates a unique, cryptographically secure authorization code.

string GenerateAuthorizationCode();

Returns

System.String
A string representing a unique authorization code.