OAuthMiddleware<TOptions> 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.
An ASP.NET Core middleware for authenticating users using OAuth services.
generic <typename TOptions>
where TOptions : OAuthOptionsgcnew()public ref class OAuthMiddleware : Microsoft::AspNetCore::Authentication::AuthenticationMiddleware<TOptions>
public class OAuthMiddleware<TOptions> : Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<TOptions> where TOptions : OAuthOptions, new()
type OAuthMiddleware<'Options (requires 'Options :> OAuthOptions and 'Options : (new : unit -> 'Options))> = class
inherit AuthenticationMiddleware<'Options (requires 'Options :> OAuthOptions and 'Options : (new : unit -> 'Options))>
Public Class OAuthMiddleware(Of TOptions)
Inherits AuthenticationMiddleware(Of TOptions)
Type Parameters
- TOptions
- Inheritance
- Derived
Constructors
OAuthMiddleware<TOptions>(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TOptions>) |
Initializes a new OAuthMiddleware<TOptions>. |
Properties
AuthenticationScheme | (Inherited from AuthenticationMiddleware<TOptions>) |
Backchannel | |
Logger | (Inherited from AuthenticationMiddleware<TOptions>) |
Options | (Inherited from AuthenticationMiddleware<TOptions>) |
UrlEncoder | (Inherited from AuthenticationMiddleware<TOptions>) |
Methods
CreateHandler() |
Provides the AuthenticationHandler<TOptions> object for processing authentication-related requests. |
Invoke(HttpContext) | (Inherited from AuthenticationMiddleware<TOptions>) |