OpenIdConnectExtensions.AddOpenIdConnect Methode

Definition

Überlädt

AddOpenIdConnect(AuthenticationBuilder)

Fügt die OpenId Connect-Authentifizierung mithilfe des Standardschemas hinzu AuthenticationBuilder . Das Standardschema wird durch AuthenticationSchemeangegeben.

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

AddOpenIdConnect(AuthenticationBuilder, Action<OpenIdConnectOptions>)

Fügt die OpenId Connect-Authentifizierung mithilfe des Standardschemas hinzu AuthenticationBuilder . Das Standardschema wird durch AuthenticationSchemeangegeben.

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

AddOpenIdConnect(AuthenticationBuilder, String, Action<OpenIdConnectOptions>)

Fügt die OpenId Connect-Authentifizierung mithilfe des angegebenen Schemas hinzu AuthenticationBuilder .

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

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

Fügt die OpenId Connect-Authentifizierung mithilfe des angegebenen Schemas hinzu AuthenticationBuilder .

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

AddOpenIdConnect(AuthenticationBuilder)

Fügt die OpenId Connect-Authentifizierung mithilfe des Standardschemas hinzu AuthenticationBuilder . Das Standardschema wird durch AuthenticationSchemeangegeben.

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

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

Parameter

Gibt zurück

Ein Verweis auf, builder nachdem der Vorgang abgeschlossen wurde.

Gilt für:

AddOpenIdConnect(AuthenticationBuilder, Action<OpenIdConnectOptions>)

Fügt die OpenId Connect-Authentifizierung mithilfe des Standardschemas hinzu AuthenticationBuilder . Das Standardschema wird durch AuthenticationSchemeangegeben.

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

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

Parameter

configureOptions
Action<OpenIdConnectOptions>

Ein Delegat zum Konfigurieren OpenIdConnectOptionsvon .

Gibt zurück

Ein Verweis auf, builder nachdem der Vorgang abgeschlossen wurde.

Gilt für:

AddOpenIdConnect(AuthenticationBuilder, String, Action<OpenIdConnectOptions>)

Fügt die OpenId Connect-Authentifizierung mithilfe des angegebenen Schemas hinzu AuthenticationBuilder .

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

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

Parameter

authenticationScheme
String

Das Authentifizierungsschema.

configureOptions
Action<OpenIdConnectOptions>

Ein Delegat zum Konfigurieren OpenIdConnectOptionsvon .

Gibt zurück

Ein Verweis auf, builder nachdem der Vorgang abgeschlossen wurde.

Gilt für:

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

Fügt die OpenId Connect-Authentifizierung mithilfe des angegebenen Schemas hinzu AuthenticationBuilder .

OpenID Connect ist eine Identitätsebene auf dem OAuth 2.0-Protokoll. Es ermöglicht Clients, Informationen zu authentifizierten Sitzungen und Endbenutzern anzufordern und zu empfangen.

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

Parameter

authenticationScheme
String

Das Authentifizierungsschema.

displayName
String

Ein Anzeigename für den Authentifizierungshandler.

configureOptions
Action<OpenIdConnectOptions>

Ein Delegat zum Konfigurieren OpenIdConnectOptionsvon .

Gibt zurück

Ein Verweis auf, builder nachdem der Vorgang abgeschlossen wurde.

Gilt für: