Dela via


Microsoft.AspNetCore.Authentication.OAuth Namespace

Contains types that enable support for OAuth based authentication.

Classes

OAuthChallengeProperties

AuthenticationProperties for an OAuth challenge.

OAuthCodeExchangeContext

Contains information used to perform the code exchange.

OAuthConstants

Constants used in the OAuth protocol

OAuthCreatingTicketContext

Contains information about the login session as well as the user ClaimsIdentity.

OAuthDefaults

Defaults for OAuth authentication.

OAuthEvents

Default implementation.

OAuthHandler<TOptions>

An authentication handler that supports OAuth.

OAuthMiddleware<TOptions>

An ASP.NET Core middleware for authenticating users using OAuth services.

OAuthOptions

Configuration options OAuth.

OAuthRedirectToAuthorizationContext

Context passed when a Challenge causes a redirect to authorize endpoint in the middleware.

OAuthTokenResponse

Response from an provider for an OAuth token request.

Interfaces

IOAuthEvents

Specifies callback methods which the OAuthMiddleware<TOptions> invokes to enable developer control over the authentication process.

Remarks

For more information about using OAuth based authentication, see Facebook, Google, and external provider authentication in ASP.NET Core.