Udostępnij przez


JwtBearerExtensions.AddJwtBearer Metoda

Definicja

Przeciążenia

AddJwtBearer(AuthenticationBuilder)

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu schematu AuthenticationSchemedomyślnego .

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

AddJwtBearer(AuthenticationBuilder, Action<JwtBearerOptions>)

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu schematu AuthenticationSchemedomyślnego .

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

AddJwtBearer(AuthenticationBuilder, String)

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu wstępnie zdefiniowanego schematu.

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

AddJwtBearer(AuthenticationBuilder, String, Action<JwtBearerOptions>)

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu określonego schematu.

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

AddJwtBearer(AuthenticationBuilder, String, String, Action<JwtBearerOptions>)

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu określonego schematu.

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

AddJwtBearer(AuthenticationBuilder)

Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu schematu AuthenticationSchemedomyślnego .

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

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

Parametry

Zwraca

Odwołanie do builder po zakończeniu operacji.

Dotyczy

AddJwtBearer(AuthenticationBuilder, Action<JwtBearerOptions>)

Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu schematu AuthenticationSchemedomyślnego .

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

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

Parametry

configureOptions
Action<JwtBearerOptions>

Delegat, który umożliwia skonfigurowanie programu JwtBearerOptions.

Zwraca

Odwołanie do builder po zakończeniu operacji.

Dotyczy

AddJwtBearer(AuthenticationBuilder, String)

Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu wstępnie zdefiniowanego schematu.

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddJwtBearer (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme);
static member AddJwtBearer : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddJwtBearer (builder As AuthenticationBuilder, authenticationScheme As String) As AuthenticationBuilder

Parametry

authenticationScheme
String

Schemat uwierzytelniania.

Zwraca

Odwołanie do builder po zakończeniu operacji.

Dotyczy

AddJwtBearer(AuthenticationBuilder, String, Action<JwtBearerOptions>)

Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu określonego schematu.

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

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

Parametry

authenticationScheme
String

Schemat uwierzytelniania.

configureOptions
Action<JwtBearerOptions>

Delegat, który umożliwia skonfigurowanie programu JwtBearerOptions.

Zwraca

Odwołanie do builder po zakończeniu operacji.

Dotyczy

AddJwtBearer(AuthenticationBuilder, String, String, Action<JwtBearerOptions>)

Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs
Źródło:
JwtBearerExtensions.cs

Włącza uwierzytelnianie elementu nośnego JWT przy użyciu określonego schematu.

Uwierzytelnianie elementu nośnego JWT przeprowadza uwierzytelnianie przez wyodrębnianie i weryfikowanie tokenu JWT z nagłówka Authorization żądania.

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

Parametry

authenticationScheme
String

Schemat uwierzytelniania.

displayName
String

Nazwa wyświetlana programu obsługi uwierzytelniania.

configureOptions
Action<JwtBearerOptions>

Delegat, który umożliwia skonfigurowanie programu JwtBearerOptions.

Zwraca

Odwołanie do builder po zakończeniu operacji.

Dotyczy