다음을 통해 공유


IdentityCookieAuthenticationBuilderExtensions.AddTwoFactorRememberMeCookie 메서드

정의

나를 기억하는 두 가지 요소에 사용되는 ID 쿠키를 추가합니다.

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

매개 변수

builder
AuthenticationBuilder

현재 AuthenticationBuilder 인스턴스입니다.

반환

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

적용 대상