IdentityCookiesBuilder.TwoFactorUserIdCookie 属性

定义

用于配置双因素用户 ID Cookie。

public:
 property Microsoft::Extensions::Options::OptionsBuilder<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ TwoFactorUserIdCookie { Microsoft::Extensions::Options::OptionsBuilder<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ get(); void set(Microsoft::Extensions::Options::OptionsBuilder<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ value); };
public Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> TwoFactorUserIdCookie { get; set; }
public Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>? TwoFactorUserIdCookie { get; set; }
member this.TwoFactorUserIdCookie : Microsoft.Extensions.Options.OptionsBuilder<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> with get, set
Public Property TwoFactorUserIdCookie As OptionsBuilder(Of CookieAuthenticationOptions)

属性值

适用于