GoogleAppBuilderExtensions.UseGoogleAuthentication Méthode
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.
Surcharges
UseGoogleAuthentication(IApplicationBuilder) |
Obsolète.
UseGoogleAuthentication est obsolète. Configurer l’authentification Google avec AddAuthentication(). AddGoogle dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations. |
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) |
Obsolète.
UseGoogleAuthentication est obsolète. Configurer l’authentification Google avec AddAuthentication(). AddGoogle dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations. |
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) |
Ajoute le GoogleMiddleware middleware au spécifié IApplicationBuilder, ce qui active les fonctionnalités d’authentification Google. |
UseGoogleAuthentication(IApplicationBuilder)
Attention
UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseGoogleAuthentication est obsolète. Configurer l’authentification Google avec AddAuthentication(). AddGoogle dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder) As IApplicationBuilder
Paramètres
IApplicationBuilder à laquelle ajouter le gestionnaire.
Retours
Référence à cette instance à la fin de l’opération.
- Attributs
S’applique à
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Attention
UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseGoogleAuthentication est obsolète. Configurer l’authentification Google avec AddAuthentication(). AddGoogle dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::Google::GoogleOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder
Paramètres
IApplicationBuilder à laquelle ajouter le gestionnaire.
- options
- GoogleOptions
GoogleOptions qui spécifie les options du gestionnaire.
Retours
Référence à cette instance à la fin de l’opération.
- Attributs
S’applique à
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Ajoute le GoogleMiddleware middleware au spécifié IApplicationBuilder, ce qui active les fonctionnalités d’authentification Google.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::GoogleOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder
Paramètres
IApplicationBuilder à laquelle ajouter le middleware.
- options
- GoogleOptions
GoogleOptions qui spécifie les options du middleware.
Retours
Référence à cette instance à la fin de l’opération.