OAuthMiddleware<TOptions> Třída

Definice

Middleware ASP.NET Core ověřování uživatelů pomocí služeb OAuth.

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)

Parametry typu

TOptions
Dědičnost
OAuthMiddleware<TOptions>
Odvozené

Konstruktory

OAuthMiddleware<TOptions>(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TOptions>)

Inicializuje nový objekt OAuthMiddleware<TOptions> .

Vlastnosti

AuthenticationScheme (Zděděno od AuthenticationMiddleware<TOptions>)
Backchannel
Logger (Zděděno od AuthenticationMiddleware<TOptions>)
Options (Zděděno od AuthenticationMiddleware<TOptions>)
UrlEncoder (Zděděno od AuthenticationMiddleware<TOptions>)

Metody

CreateHandler()

Poskytuje objekt AuthenticationHandler<TOptions> pro zpracování požadavků souvisejících s ověřováním.

Invoke(HttpContext) (Zděděno od AuthenticationMiddleware<TOptions>)

Platí pro