GoogleMiddleware Clase

Definición

Un middleware ASP.NET Core para autenticar a los usuarios mediante 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)
Herencia

Constructores

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

Inicializa un nuevo objeto GoogleMiddleware.

Propiedades

AuthenticationScheme (Heredado de AuthenticationMiddleware<TOptions>)
Backchannel (Heredado de OAuthMiddleware<TOptions>)
Logger (Heredado de AuthenticationMiddleware<TOptions>)
Options (Heredado de AuthenticationMiddleware<TOptions>)
UrlEncoder (Heredado de AuthenticationMiddleware<TOptions>)

Métodos

CreateHandler()

Proporciona el AuthenticationHandler<TOptions> objeto para procesar las solicitudes relacionadas con la autenticación.

Invoke(HttpContext) (Heredado de AuthenticationMiddleware<TOptions>)

Se aplica a