Skip to main content

Abblix.Oidc.Server.Features.DeviceAuthorization.Interfaces Namespace

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.DeviceAuthorization.Interfaces Namespace

Interfaces
IDeviceAuthorizationStorageDefines the contract for a storage system responsible for persisting and retrieving device authorization requests as defined in RFC 8628.
IDeviceCodeGeneratorDefines the contract for generating device codes used in the Device Authorization Grant (RFC 8628).
IUserCodeGeneratorDefines the contract for generating user codes used in the Device Authorization Grant (RFC 8628).
IUserCodeNormalizerCanonicalizes a user-entered user code before it is matched against a stored code in the Device Authorization Grant (RFC 8628). RFC 8628 Section 6.1 recommends that the server strip readability punctuation the user may have copied (dashes, spaces), case-fold input for single-case character sets, and drop any characters outside the configured alphabet, so that equivalent user input is not rejected as invalid.
IUserCodeRateLimiterDefines the contract for rate limiting user code verification attempts to prevent brute force attacks. Per RFC 8628 Section 5.2, implementations SHOULD implement rate limiting to prevent abuse.
IUserCodeVerificationServiceDefines the contract for a service that handles user code verification in the Device Authorization Grant flow (RFC 8628).