OAuthMiddleware<TOptions> OAuthMiddleware<TOptions> OAuthMiddleware<TOptions> OAuthMiddleware<TOptions> Class

Definition

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 : OAuthOptionsnew()
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>) OAuthMiddleware<TOptions>(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TOptions>) OAuthMiddleware<TOptions>(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TOptions>) OAuthMiddleware<TOptions>(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TOptions>)

Initializes a new OAuthMiddleware<TOptions>.

Properties

AuthenticationScheme AuthenticationScheme AuthenticationScheme AuthenticationScheme Inherited from AuthenticationMiddleware<TOptions>
Backchannel Backchannel Backchannel Backchannel
Logger Logger Logger Logger Inherited from AuthenticationMiddleware<TOptions>
Options Options Options Options Inherited from AuthenticationMiddleware<TOptions>
UrlEncoder UrlEncoder UrlEncoder UrlEncoder Inherited from AuthenticationMiddleware<TOptions>

Methods

CreateHandler() CreateHandler() CreateHandler() CreateHandler()

Provides the AuthenticationHandler<TOptions> object for processing authentication-related requests.

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext) Inherited from AuthenticationMiddleware<TOptions>

Applies to