GoogleMiddleware Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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>) |