GoogleMiddleware Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de 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)
- Héritage
Constructeurs
GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>) |
Initialise un nouveau GoogleMiddleware. |
Propriétés
AuthenticationScheme |
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de Google OAuth 2.0. (Hérité de AuthenticationMiddleware<TOptions>) |
Backchannel |
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de Google OAuth 2.0. (Hérité de OAuthMiddleware<TOptions>) |
Logger |
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de Google OAuth 2.0. (Hérité de AuthenticationMiddleware<TOptions>) |
Options |
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de Google OAuth 2.0. (Hérité de AuthenticationMiddleware<TOptions>) |
UrlEncoder |
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de Google OAuth 2.0. (Hérité de AuthenticationMiddleware<TOptions>) |
Méthodes
CreateHandler() |
Fournit l’objet AuthenticationHandler<TOptions> pour le traitement des demandes liées à l’authentification. |
Invoke(HttpContext) |
Un intergiciel ASP.NET Core pour authentifier les utilisateurs à l’aide de Google OAuth 2.0. (Hérité de AuthenticationMiddleware<TOptions>) |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour