OAuthAppBuilderExtensions Class
Definition
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for