OpenIdConnectExtensions.AddOpenIdConnect Méthode

Définition

Surcharges

AddOpenIdConnect(AuthenticationBuilder)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma par défaut. Le schéma par défaut est spécifié par AuthenticationScheme.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

AddOpenIdConnect(AuthenticationBuilder, Action<OpenIdConnectOptions>)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma par défaut. Le schéma par défaut est spécifié par AuthenticationScheme.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

AddOpenIdConnect(AuthenticationBuilder, String, Action<OpenIdConnectOptions>)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma spécifié.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

AddOpenIdConnect(AuthenticationBuilder, String, String, Action<OpenIdConnectOptions>)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma spécifié.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

AddOpenIdConnect(AuthenticationBuilder)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma par défaut. Le schéma par défaut est spécifié par AuthenticationScheme.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOpenIdConnect (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddOpenIdConnect : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddOpenIdConnect (builder As AuthenticationBuilder) As AuthenticationBuilder

Paramètres

Retours

Référence à builder une fois l’opération terminée.

S’applique à

AddOpenIdConnect(AuthenticationBuilder, Action<OpenIdConnectOptions>)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma par défaut. Le schéma par défaut est spécifié par AuthenticationScheme.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOpenIdConnect (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configureOptions);
static member AddOpenIdConnect : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddOpenIdConnect (builder As AuthenticationBuilder, configureOptions As Action(Of OpenIdConnectOptions)) As AuthenticationBuilder

Paramètres

configureOptions
Action<OpenIdConnectOptions>

Délégué pour configurer OpenIdConnectOptions.

Retours

Référence à builder une fois l’opération terminée.

S’applique à

AddOpenIdConnect(AuthenticationBuilder, String, Action<OpenIdConnectOptions>)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma spécifié.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOpenIdConnect (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configureOptions);
static member AddOpenIdConnect : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddOpenIdConnect (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of OpenIdConnectOptions)) As AuthenticationBuilder

Paramètres

authenticationScheme
String

Schéma d'authentification.

configureOptions
Action<OpenIdConnectOptions>

Délégué pour configurer OpenIdConnectOptions.

Retours

Référence à builder une fois l’opération terminée.

S’applique à

AddOpenIdConnect(AuthenticationBuilder, String, String, Action<OpenIdConnectOptions>)

Ajoute l’authentification OpenId Connect à l’aide AuthenticationBuilder du schéma spécifié.

OpenID Connect est une couche d’identité au-dessus du protocole OAuth 2.0. Il permet aux clients de demander et de recevoir des informations sur les sessions authentifiées et les utilisateurs finaux.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOpenIdConnect (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOpenIdConnect (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string? displayName, Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configureOptions);
static member AddOpenIdConnect : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddOpenIdConnect (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of OpenIdConnectOptions)) As AuthenticationBuilder

Paramètres

authenticationScheme
String

Schéma d'authentification.

displayName
String

Nom complet du gestionnaire d’authentification.

configureOptions
Action<OpenIdConnectOptions>

Délégué pour configurer OpenIdConnectOptions.

Retours

Référence à builder une fois l’opération terminée.

S’applique à