GoogleMiddleware Třída

Definice

ASP.NET Core middleware pro ověřování uživatelů pomocí Google OAuth 2,0.

public ref class GoogleMiddleware : Microsoft::AspNetCore::Authentication::OAuth::OAuthMiddleware<Microsoft::AspNetCore::Builder::GoogleOptions ^>
public class GoogleMiddleware : Microsoft.AspNetCore.Authentication.OAuth.OAuthMiddleware<Microsoft.AspNetCore.Builder.GoogleOptions>
type GoogleMiddleware = class
    inherit OAuthMiddleware<GoogleOptions>
Public Class GoogleMiddleware
Inherits OAuthMiddleware(Of GoogleOptions)
Dědičnost

Konstruktory

GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>)

Inicializuje novou GoogleMiddleware .

Vlastnosti

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

Metody

CreateHandler()

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

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

Platí pro