CookieAppBuilderExtensions.UseCookieAuthentication 메서드

정의

오버로드

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

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

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)
사용되지 않음.
사용되지 않음.

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

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)

지정된 IApplicationBuilderCookieAuthenticationMiddleware 미들웨어를 추가하여 쿠키 인증 기능을 사용하도록 설정합니다.

UseCookieAuthentication(IApplicationBuilder)

주의

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

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

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

매개 변수

app
IApplicationBuilder

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

반환

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

특성

적용 대상

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)

주의

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

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

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

매개 변수

app
IApplicationBuilder

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

options
CookieAuthenticationOptions

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

반환

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

특성

적용 대상

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)

지정된 IApplicationBuilderCookieAuthenticationMiddleware 미들웨어를 추가하여 쿠키 인증 기능을 사용하도록 설정합니다.

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

매개 변수

app
IApplicationBuilder

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

options
CookieAuthenticationOptions

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

반환

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

적용 대상