Delen via


Microsoft.AspNetCore.Authentication.OpenIdConnect Namespace

Contains types that enable support for OpenIdConnect based authentication.

Classes

AuthenticationFailedContext

A context for AuthenticationFailed(AuthenticationFailedContext).

AuthorizationCodeReceivedContext

This Context can be used to be informed when an 'AuthorizationCode' is received over the OpenIdConnect protocol.

BaseOpenIdConnectContext
MessageReceivedContext

A context for OnMessageReceived.

OpenIdConnectChallengeProperties

AuthenticationProperties for an OpenId Connect challenge.

OpenIdConnectDefaults

Default values related to OpenIdConnect authentication handler

OpenIdConnectEvents

Specifies events which the OpenIdConnectHandler invokes to enable developer control over the authentication process.

OpenIdConnectHandler

A per-request authentication handler for the OpenIdConnectAuthenticationMiddleware.

OpenIdConnectMiddleware

ASP.NET Core middleware for obtaining identities using OpenIdConnect protocol.

OpenIdConnectOptions

Configuration options for OpenIdConnectHandler

OpenIdConnectPostConfigureOptions

Used to setup defaults for all OpenIdConnectOptions.

PushedAuthorizationContext

A context for PushAuthorization(PushedAuthorizationContext).

RedirectContext

When a user configures the OpenIdConnectHandler to be notified prior to redirecting to an IdentityProvider an instance of RedirectContext is passed to the RedirectToIdentityProvider(RedirectContext) and RedirectToIdentityProviderForSignOut(RedirectContext).

RemoteSignOutContext

A context for RemoteSignOut(RemoteSignOutContext) event.

TokenResponseReceivedContext

This Context can be used to be informed when an 'AuthorizationCode' is redeemed for tokens at the token endpoint.

TokenValidatedContext

A context for TokenValidated(TokenValidatedContext).

UserInformationReceivedContext

A context for UserInformationReceived(UserInformationReceivedContext).

Interfaces

IOpenIdConnectEvents

Specifies events which the OpenIdConnectMiddlewareinvokes to enable developer control over the authentication process.

Enums

OpenIdConnectRedirectBehavior

Lists the different authentication methods used to redirect the user agent to the identity provider.

PushedAuthorizationBehavior

Enum containing the options for use of Pushed Authorization (PAR).

Remarks

For more information about using OpenIdConnect based authentication, see Introduction to authentication in ASP.NET Core.