OAuthAppBuilderExtensions Class

Definition

Extension methods to add OAuth 2.0 authentication capabilities to an HTTP application pipeline.

public ref class OAuthAppBuilderExtensions abstract sealed
public static class OAuthAppBuilderExtensions
type OAuthAppBuilderExtensions = class
Public Module OAuthAppBuilderExtensions
Inheritance
OAuthAppBuilderExtensions

Methods

UseOAuthAuthentication(IApplicationBuilder)
Obsolete.
Obsolete.

UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)
Obsolete.
Obsolete.

UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)

Adds the OAuthMiddleware<TOptions> middleware to the specified IApplicationBuilder, which enables OAuth 2.0 authentication capabilities.

Applies to