Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Microsoft.AspNetCore.Authentication.OAuth Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Contains types that enable support for OAuth based authentication.

Classes

Name Description
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

Name Description
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.


Feedback

Was this page helpful?