JwtBearerAppBuilderExtensions.UseJwtBearerAuthentication 메서드

정의

오버로드

UseJwtBearerAuthentication(IApplicationBuilder)
사용되지 않음.
사용되지 않음.

UseJwtBearerAuthentication은 사용되지 않습니다. AddAuthentication()을 사용하여 JwtBearer 인증을 구성합니다. ConfigureServices의 AddJwtBearer. 자세한 내용은 https://go.microsoft.com/fwlink/?linkid=845470를 참조하세요.

UseJwtBearerAuthentication(IApplicationBuilder, JwtBearerOptions)
사용되지 않음.
사용되지 않음.

UseJwtBearerAuthentication은 사용되지 않습니다. AddAuthentication()을 사용하여 JwtBearer 인증을 구성합니다. ConfigureServices의 AddJwtBearer. 자세한 내용은 https://go.microsoft.com/fwlink/?linkid=845470를 참조하세요.

UseJwtBearerAuthentication(IApplicationBuilder, JwtBearerOptions)

전달자 JwtBearerMiddleware 토큰 처리 기능을 사용할 수 있도록 지정된 IApplicationBuilder에 미들웨어를 추가합니다. 이 미들웨어는 요청 헤더에 표시되는 적절한 형식의 보안 토큰을 이해합니다. Options.AuthenticationMode가 활성인 경우 전달자 토큰 내의 클레임이 현재 요청의 IPrincipal User에 추가됩니다. Options.AuthenticationMode가 수동인 경우 현재 요청은 수정되지 않지만 IAuthenticationManager AuthenticateAsync를 언제든지 사용하여 요청 전달자 토큰에서 클레임을 가져올 수 있습니다. 참고 항목 http://tools.ietf.org/html/rfc6749

UseJwtBearerAuthentication(IApplicationBuilder)

Source:
JwtBearerAppBuilderExtensions.cs
Source:
JwtBearerAppBuilderExtensions.cs

주의

UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseJwtBearerAuthentication은 사용되지 않습니다. AddAuthentication()을 사용하여 JwtBearer 인증을 구성합니다. ConfigureServices의 AddJwtBearer. 자세한 내용은 https://go.microsoft.com/fwlink/?linkid=845470를 참조하세요.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseJwtBearerAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseJwtBearerAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseJwtBearerAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseJwtBearerAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseJwtBearerAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseJwtBearerAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseJwtBearerAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseJwtBearerAuthentication (app As IApplicationBuilder) As IApplicationBuilder

매개 변수

app
IApplicationBuilder

IApplicationBuilder 처리기를 추가할 입니다.

반환

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

특성

적용 대상

UseJwtBearerAuthentication(IApplicationBuilder, JwtBearerOptions)

Source:
JwtBearerAppBuilderExtensions.cs
Source:
JwtBearerAppBuilderExtensions.cs

주의

UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseJwtBearerAuthentication은 사용되지 않습니다. AddAuthentication()을 사용하여 JwtBearer 인증을 구성합니다. ConfigureServices의 AddJwtBearer. 자세한 내용은 https://go.microsoft.com/fwlink/?linkid=845470를 참조하세요.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseJwtBearerAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseJwtBearerAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options);
[System.Obsolete("UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseJwtBearerAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseJwtBearerAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseJwtBearerAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseJwtBearerAuthentication (app As IApplicationBuilder, options As JwtBearerOptions) As IApplicationBuilder

매개 변수

app
IApplicationBuilder

IApplicationBuilder 처리기를 추가할 입니다.

options
JwtBearerOptions

JwtBearerOptions 처리기에 대한 옵션을 지정하는 입니다.

반환

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

특성

적용 대상

UseJwtBearerAuthentication(IApplicationBuilder, JwtBearerOptions)

전달자 JwtBearerMiddleware 토큰 처리 기능을 사용할 수 있도록 지정된 IApplicationBuilder에 미들웨어를 추가합니다. 이 미들웨어는 요청 헤더에 표시되는 적절한 형식의 보안 토큰을 이해합니다. Options.AuthenticationMode가 활성인 경우 전달자 토큰 내의 클레임이 현재 요청의 IPrincipal User에 추가됩니다. Options.AuthenticationMode가 수동인 경우 현재 요청은 수정되지 않지만 IAuthenticationManager AuthenticateAsync를 언제든지 사용하여 요청 전달자 토큰에서 클레임을 가져올 수 있습니다. 참고 항목 http://tools.ietf.org/html/rfc6749

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseJwtBearerAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::JwtBearerOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseJwtBearerAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.JwtBearerOptions options);
static member UseJwtBearerAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.JwtBearerOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseJwtBearerAuthentication (app As IApplicationBuilder, options As JwtBearerOptions) As IApplicationBuilder

매개 변수

app
IApplicationBuilder

IApplicationBuilder 미들웨어를 추가할 입니다.

options
JwtBearerOptions

JwtBearerOptions 미들웨어에 대한 옵션을 지정하는 입니다.

반환

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

적용 대상