#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')

## Abblix\.Oidc\.Server\.Endpoints\.DeviceAuthorization Namespace

| Classes | |
| :--- | :--- |
| [DeviceAuthorizationHandler](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.DeviceAuthorization.DeviceAuthorizationHandler 'Abblix\.Oidc\.Server\.Endpoints\.DeviceAuthorization\.DeviceAuthorizationHandler') | Handles device authorization requests as defined in RFC 8628\. Coordinates validation and processing of requests to generate device\_code and user\_code\. |
| [DeviceAuthorizationOptionsValidator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.DeviceAuthorization.DeviceAuthorizationOptionsValidator 'Abblix\.Oidc\.Server\.Endpoints\.DeviceAuthorization\.DeviceAuthorizationOptionsValidator') | Fails loudly the first time [OidcOptions](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.OidcOptions 'Abblix\.Oidc\.Server\.Common\.Configuration\.OidcOptions') is resolved when the device authorization endpoint is enabled but its settings are absent, instead of letting the contradiction surface as an unhandled HTTP 500 on the first request\. The endpoint is off in the default [Base](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.OidcEndpoints#Abblix.Oidc.Server.Common.Configuration.OidcEndpoints.Base 'Abblix\.Oidc\.Server\.Common\.Configuration\.OidcEndpoints\.Base') set and is turned on only by an explicit `AddDeviceAuthorization()` opt\-in \(or a host that sets the [DeviceAuthorization](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.OidcEndpoints#Abblix.Oidc.Server.Common.Configuration.OidcEndpoints.DeviceAuthorization 'Abblix\.Oidc\.Server\.Common\.Configuration\.OidcEndpoints\.DeviceAuthorization') flag itself\), yet [DeviceAuthorization](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.OidcOptions#Abblix.Oidc.Server.Common.Configuration.OidcOptions.DeviceAuthorization 'Abblix\.Oidc\.Server\.Common\.Configuration\.OidcOptions\.DeviceAuthorization') has no default — so a host that enables it without configuring it has an internally inconsistent configuration this validator turns into a clear startup error\. A no\-op when the endpoint is disabled or the settings are present\. |
| [DeviceAuthorizationRequestProcessor](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.DeviceAuthorization.DeviceAuthorizationRequestProcessor 'Abblix\.Oidc\.Server\.Endpoints\.DeviceAuthorization\.DeviceAuthorizationRequestProcessor') | Processes validated device authorization requests, generating codes and storing the request\. |
| [DeviceAuthorizationRequestValidator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.DeviceAuthorization.DeviceAuthorizationRequestValidator 'Abblix\.Oidc\.Server\.Endpoints\.DeviceAuthorization\.DeviceAuthorizationRequestValidator') | Validates device authorization requests by delegating to a context validator\. |
