다음을 통해 공유


OAuthAppBuilderExtensions.UseOAuthAuthentication 메서드

정의

오버로드

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

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

UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)
사용되지 않음.
사용되지 않음.

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

UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)

지정된 IApplicationBuilderOAuthMiddleware<TOptions> 미들웨어를 추가하여 OAuth 2.0 인증 기능을 사용하도록 설정합니다.

UseOAuthAuthentication(IApplicationBuilder)

Source:
OAuthAppBuilderExtensions.cs
Source:
OAuthAppBuilderExtensions.cs

주의

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

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

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

매개 변수

app
IApplicationBuilder

처리기를 추가할 IApplicationBuilder.

반환

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

특성

적용 대상

UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)

Source:
OAuthAppBuilderExtensions.cs
Source:
OAuthAppBuilderExtensions.cs

주의

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

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

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

매개 변수

app
IApplicationBuilder

처리기를 추가할 IApplicationBuilder.

options
OAuthOptions

처리기에 대한 옵션을 지정하는 OAuthOptions.

반환

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

특성

적용 대상

UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)

지정된 IApplicationBuilderOAuthMiddleware<TOptions> 미들웨어를 추가하여 OAuth 2.0 인증 기능을 사용하도록 설정합니다.

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

매개 변수

app
IApplicationBuilder

미들웨어를 추가할 IApplicationBuilder.

options
OAuthOptions

미들웨어에 대한 옵션을 지정하는 OAuthOptions.

반환

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

적용 대상