Show / Hide Table of Contents

# Namespace OpenIddict.Server

### Classes

#### AttachTokenDigests

Contains the logic responsible of generating and attaching the hashes of the access token and authorization code to the identity token principal.

#### AttachTokenParameters

Contains the logic responsible of attaching the tokens and their metadata to the sign-in response.

#### BeautifyUserCode

Contains the logic responsible of beautifying the user code returned to the client. Note: this handler is not used when the degraded mode is enabled.

#### CreateIdentityTokenEntry

Contains the logic responsible of creating an identity token entry. Note: this handler is not used when the degraded mode is enabled.

#### GenerateIdentityModelIdentityToken

Contains the logic responsible of generating an identity token using IdentityModel.

#### OpenIddictServerConfiguration

Contains the methods required to ensure that the OpenIddict server configuration is valid.

#### OpenIddictServerConstants

#### OpenIddictServerConstants.Properties

#### OpenIddictServerDispatcher

#### OpenIddictServerEvents

#### OpenIddictServerEvents.ApplyAuthorizationResponseContext

Represents an event called before the authorization response is returned to the caller.

#### OpenIddictServerEvents.ApplyConfigurationResponseContext

Represents an event called before the configuration response is returned to the caller.

#### OpenIddictServerEvents.ApplyCryptographyResponseContext

Represents an event called before the cryptography response is returned to the caller.

#### OpenIddictServerEvents.ApplyDeviceResponseContext

Represents an event called before the device response is returned to the caller.

#### OpenIddictServerEvents.ApplyIntrospectionResponseContext

Represents an event called before the introspection response is returned to the caller.

#### OpenIddictServerEvents.ApplyLogoutResponseContext

Represents an event called before the logout response is returned to the caller.

#### OpenIddictServerEvents.ApplyRevocationResponseContext

Represents an event called before the revocation response is returned to the caller.

#### OpenIddictServerEvents.ApplyTokenResponseContext

Represents an event called before the token response is returned to the caller.

#### OpenIddictServerEvents.ApplyUserinfoResponseContext

Represents an event called before the userinfo response is returned to the caller.

#### OpenIddictServerEvents.ApplyVerificationResponseContext

Represents an event called before the verification response is returned to the caller.

#### OpenIddictServerEvents.ExtractAuthorizationRequestContext

Represents an event called for each request to the authorization endpoint to give the user code a chance to manually extract the authorization request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractConfigurationRequestContext

Represents an event called for each request to the configuration endpoint to give the user code a chance to manually extract the configuration request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractCryptographyRequestContext

Represents an event called for each request to the cryptography endpoint to give the user code a chance to manually extract the cryptography request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractDeviceRequestContext

Represents an event called for each request to the device endpoint to give the user code a chance to manually extract the device request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractIntrospectionRequestContext

Represents an event called for each request to the introspection endpoint to give the user code a chance to manually extract the introspection request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractLogoutRequestContext

Represents an event called for each request to the logout endpoint to give the user code a chance to manually extract the logout request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractRevocationRequestContext

Represents an event called for each request to the revocation endpoint to give the user code a chance to manually extract the revocation request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractTokenRequestContext

Represents an event called for each request to the token endpoint to give the user code a chance to manually extract the token request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractUserinfoRequestContext

Represents an event called for each request to the userinfo endpoint to give the user code a chance to manually extract the userinfo request from the ambient HTTP context.

#### OpenIddictServerEvents.ExtractVerificationRequestContext

Represents an event called for each request to the verification endpoint to give the user code a chance to manually extract the verification request from the ambient HTTP context.

#### OpenIddictServerEvents.HandleAuthorizationRequestContext

Represents an event called for each validated authorization request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleConfigurationRequestContext

Represents an event called for each validated configuration request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleCryptographyRequestContext

Represents an event called for each validated cryptography request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleDeviceRequestContext

Represents an event called for each validated device request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleIntrospectionRequestContext

Represents an event called for each validated introspection request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleLogoutRequestContext

Represents an event called for each validated logout request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleRevocationRequestContext

Represents an event called for each validated revocation request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleTokenRequestContext

Represents an event called for each validated token request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleUserinfoRequestContext

Represents an event called for each validated userinfo request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.HandleVerificationRequestContext

Represents an event called for each validated verification request to allow the user code to decide how the request should be handled.

#### OpenIddictServerEvents.ProcessAuthenticationContext

Represents an event called when processing an authentication operation.

#### OpenIddictServerEvents.ProcessChallengeContext

Represents an event called when processing a challenge response.

#### OpenIddictServerEvents.ProcessErrorContext

Represents an event called when processing an errored response.

#### OpenIddictServerEvents.ProcessRequestContext

Represents an event called when processing an incoming request.

#### OpenIddictServerEvents.ProcessSignInContext

Represents an event called when processing a sign-in response.

#### OpenIddictServerEvents.ProcessSignOutContext

Represents an event called when processing a sign-out response.

#### OpenIddictServerEvents.ValidateAuthorizationRequestContext

Represents an event called for each request to the authorization endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateConfigurationRequestContext

Represents an event called for each request to the configuration endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateCryptographyRequestContext

Represents an event called for each request to the cryptography endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateDeviceRequestContext

Represents an event called for each request to the device endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateIntrospectionRequestContext

Represents an event called for each request to the introspection endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateLogoutRequestContext

Represents an event called for each request to the logout endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateRevocationRequestContext

Represents an event called for each request to the revocation endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateTokenRequestContext

Represents an event called for each request to the token endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateUserinfoRequestContext

Represents an event called for each request to the userinfo endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerEvents.ValidateVerificationRequestContext

Represents an event called for each request to the verification endpoint to determine if the request is valid and should continue to be processed.

#### OpenIddictServerFactory

#### OpenIddictServerHandler<TContext>

Represents a handler able to process `TContext` events.

#### OpenIddictServerHandlerDescriptor

Represents an immutable descriptor of an OpenIddict server event handler.

#### OpenIddictServerHandlerDescriptor.Builder<TContext>

Contains methods allowing to build a descriptor instance.

#### OpenIddictServerHandlerFilters

#### OpenIddictServerHandlerFilters.RequireAccessTokenGenerated

Represents a filter that excludes the associated handlers if no access token is generated.

#### OpenIddictServerHandlerFilters.RequireAuthorizationCodeGenerated

Represents a filter that excludes the associated handlers if no authorization code is generated.

#### OpenIddictServerHandlerFilters.RequireAuthorizationRequest

Represents a filter that excludes the associated handlers if the request is not an authorization request.

#### OpenIddictServerHandlerFilters.RequireAuthorizationStorageEnabled

Represents a filter that excludes the associated handlers if authorization storage was not enabled.

#### OpenIddictServerHandlerFilters.RequireClientIdParameter

Represents a filter that excludes the associated handlers when no client identifier is received.

#### OpenIddictServerHandlerFilters.RequireConfigurationRequest

Represents a filter that excludes the associated handlers if the request is not a configuration request.

#### OpenIddictServerHandlerFilters.RequireCryptographyRequest

Represents a filter that excludes the associated handlers if the request is not a cryptography request.

#### OpenIddictServerHandlerFilters.RequireDegradedModeDisabled

Represents a filter that excludes the associated handlers if the degraded mode was not enabled.

#### OpenIddictServerHandlerFilters.RequireDeviceCodeGenerated

Represents a filter that excludes the associated handlers if no device code is generated.

#### OpenIddictServerHandlerFilters.RequireDeviceRequest

Represents a filter that excludes the associated handlers if the request is not a device request.

#### OpenIddictServerHandlerFilters.RequireEndpointPermissionsEnabled

Represents a filter that excludes the associated handlers if endpoint permissions were disabled.

#### OpenIddictServerHandlerFilters.RequireGrantTypePermissionsEnabled

Represents a filter that excludes the associated handlers if grant type permissions were disabled.

#### OpenIddictServerHandlerFilters.RequireIdentityTokenGenerated

Represents a filter that excludes the associated handlers if no identity token is generated.

#### OpenIddictServerHandlerFilters.RequireIntrospectionRequest

Represents a filter that excludes the associated handlers if the request is not an introspection request.

#### OpenIddictServerHandlerFilters.RequireLogoutRequest

Represents a filter that excludes the associated handlers if the request is not a logout request.

#### OpenIddictServerHandlerFilters.RequirePostLogoutRedirectUriParameter

Represents a filter that excludes the associated handlers when no post_logout_redirect_uri is received.

#### OpenIddictServerHandlerFilters.RequireReferenceAccessTokensEnabled

Represents a filter that excludes the associated handlers if reference access tokens are disabled.

#### OpenIddictServerHandlerFilters.RequireReferenceRefreshTokensEnabled

Represents a filter that excludes the associated handlers if reference refresh tokens are disabled.

#### OpenIddictServerHandlerFilters.RequireRefreshTokenGenerated

Represents a filter that excludes the associated handlers if no refresh token is generated.

#### OpenIddictServerHandlerFilters.RequireResponseTypePermissionsEnabled

Represents a filter that excludes the associated handlers if response type permissions were disabled.

#### OpenIddictServerHandlerFilters.RequireRevocationRequest

Represents a filter that excludes the associated handlers if the request is not a revocation request.

#### OpenIddictServerHandlerFilters.RequireScopePermissionsEnabled

Represents a filter that excludes the associated handlers if scope permissions were disabled.

#### OpenIddictServerHandlerFilters.RequireScopeValidationEnabled

Represents a filter that excludes the associated handlers if scope validation was not enabled.

#### OpenIddictServerHandlerFilters.RequireSlidingRefreshTokenExpirationEnabled

Represents a filter that excludes the associated handlers if sliding refresh token expiration was disabled.

#### OpenIddictServerHandlerFilters.RequireTokenRequest

Represents a filter that excludes the associated handlers if the request is not a token request.

#### OpenIddictServerHandlerFilters.RequireTokenStorageEnabled

Represents a filter that excludes the associated handlers if token storage was not enabled.

#### OpenIddictServerHandlerFilters.RequireUserCodeGenerated

Represents a filter that excludes the associated handlers if no user code is generated.

#### OpenIddictServerHandlerFilters.RequireUserinfoRequest

Represents a filter that excludes the associated handlers if the request is not a userinfo request.

#### OpenIddictServerHandlerFilters.RequireVerificationRequest

Represents a filter that excludes the associated handlers if the request is not a verification request.

#### OpenIddictServerHelpers

Exposes extensions simplifying the integration with the OpenIddict server services.

#### OpenIddictServerOptions

Provides various settings needed to configure the OpenIddict server handler.

#### OpenIddictServerTransaction

Represents the context associated with an OpenID Connect server request.

#### ValidateSignOutDemand

Contains the logic responsible of ensuring that the sign-out demand is compatible with the type of the endpoint that handled the request.

### Interfaces

#### IOpenIddictServerDispatcher

#### IOpenIddictServerFactory

#### IOpenIddictServerHandler<TContext>

Represents a handler able to process `TContext` events.

#### IOpenIddictServerHandlerFilter<TContext>

### Enums

#### OpenIddictServerEndpointType

Represents the type of an OpenIddict server endpoint.

#### OpenIddictServerHandlerType

Represents the type of an OpenIddict server handler.