IUserCodeGenerator Interface
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.DeviceAuthorization.Interfaces
IUserCodeGenerator Interface
Defines the contract for generating user codes used in the Device Authorization Grant (RFC 8628).
public interface IUserCodeGenerator
Derived
↳ UserCodeGenerator
Methods
IUserCodeGenerator.GenerateUserCode() Method
Generates a user-friendly numeric code that the end-user enters on the verification page.
string GenerateUserCode();
Returns
System.String
A numeric verification code (e.g., "1234-5678").