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

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. RFC 8628 Section 5.1 recommends that the server rate-limit user code attempts. The word there is lowercase, so this is a mitigation the server chooses rather than one it inherits - and the choice is what makes the entropy argument in that section hold.
IUserCodeVerificationServiceDefines the contract for a service that handles user code verification in the Device Authorization Grant flow (RFC 8628).