IClientIdGenerator Interface
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.RandomGenerators
IClientIdGenerator Interface
Defines an interface for generating client IDs for OpenID Connect (OIDC) clients. This interface abstracts the mechanism for creating unique client identifiers used in the registration of OIDC clients. Implementations of this interface can provide different strategies for generating client IDs, such as UUIDs, random strings, or based on specific patterns.
public interface IClientIdGenerator
Derived
↳ ClientIdGenerator
Methods
IClientIdGenerator.GenerateClientId() Method
Generates a new, unique client ID. This client ID is intended for use in identifying an OIDC client within an authorization server or OIDC provider. The format and uniqueness constraints of the client ID can vary depending on the implementation.
string GenerateClientId();
Returns
System.String
A string representing the generated client ID, which should be unique across all clients
within the authorization server's context.