다음을 통해 공유


IdentityCookieAuthenticationBuilderExtensions.AddApplicationCookie 메서드

정의

ID 애플리케이션 쿠키를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Options::OptionsBuilder<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ AddApplicationCookie(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
public static Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> AddApplicationCookie (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddApplicationCookie : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
<Extension()>
Public Function AddApplicationCookie (builder As AuthenticationBuilder) As OptionsBuilder(Of CookieAuthenticationOptions)

매개 변수

builder
AuthenticationBuilder

현재 AuthenticationBuilder 인스턴스입니다.

반환

OptionsBuilder<TOptions> 쿠키 인증을 구성하는 데 사용할 수 있는 입니다.

적용 대상