共用方式為


IdentityCookiesBuilder.TwoFactorUserIdCookie 屬性

定義

用來設定兩個因素使用者識別碼 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)

屬性值

適用於