BearerTokenExtensions.AddBearerToken 메서드

정의

오버로드

AddBearerToken(AuthenticationBuilder)

전달자 토큰 인증을 추가합니다. 기본 구성표는 로 AuthenticationScheme지정됩니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

AddBearerToken(AuthenticationBuilder, Action<BearerTokenOptions>)

전달자 토큰 인증을 추가합니다. 기본 구성표는 로 AuthenticationScheme지정됩니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

AddBearerToken(AuthenticationBuilder, String)

전달자 토큰 인증을 추가합니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

AddBearerToken(AuthenticationBuilder, String, Action<BearerTokenOptions>)

전달자 토큰 인증을 추가합니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

AddBearerToken(AuthenticationBuilder)

전달자 토큰 인증을 추가합니다. 기본 구성표는 로 AuthenticationScheme지정됩니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

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

매개 변수

반환

작업이 완료된 후 에 대한 참조 builder 입니다.

적용 대상

AddBearerToken(AuthenticationBuilder, Action<BearerTokenOptions>)

전달자 토큰 인증을 추가합니다. 기본 구성표는 로 AuthenticationScheme지정됩니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> configure);
static member AddBearerToken : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddBearerToken (builder As AuthenticationBuilder, configure As Action(Of BearerTokenOptions)) As AuthenticationBuilder

매개 변수

configure
Action<BearerTokenOptions>

전달자 토큰 인증 옵션을 구성하는 데 사용되는 작업입니다.

반환

작업이 완료된 후 에 대한 참조 builder 입니다.

적용 대상

AddBearerToken(AuthenticationBuilder, String)

전달자 토큰 인증을 추가합니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

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

매개 변수

authenticationScheme
String

인증 체계입니다.

반환

작업이 완료된 후 에 대한 참조 builder 입니다.

적용 대상

AddBearerToken(AuthenticationBuilder, String, Action<BearerTokenOptions>)

전달자 토큰 인증을 추가합니다.

전달자 토큰은 를 호출 SignInAsync(HttpContext, String, ClaimsPrincipal)하여 가져올 수 있습니다.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> configure);
static member AddBearerToken : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddBearerToken (builder As AuthenticationBuilder, authenticationScheme As String, configure As Action(Of BearerTokenOptions)) As AuthenticationBuilder

매개 변수

authenticationScheme
String

인증 체계입니다.

configure
Action<BearerTokenOptions>

전달자 토큰 인증 옵션을 구성하는 데 사용되는 작업입니다.

반환

작업이 완료된 후 에 대한 참조 builder 입니다.

적용 대상