共用方式為


PostConfigureCookieAuthenticationOptions 類別

定義

用來設定所有 CookieAuthenticationOptions 的預設值。

public ref class PostConfigureCookieAuthenticationOptions : Microsoft::Extensions::Options::IPostConfigureOptions<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^>
public class PostConfigureCookieAuthenticationOptions : Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
type PostConfigureCookieAuthenticationOptions = class
    interface IPostConfigureOptions<CookieAuthenticationOptions>
Public Class PostConfigureCookieAuthenticationOptions
Implements IPostConfigureOptions(Of CookieAuthenticationOptions)
繼承
PostConfigureCookieAuthenticationOptions
實作

建構函式

PostConfigureCookieAuthenticationOptions(IDataProtectionProvider)

初始化 PostConfigureCookieAuthenticationOptions 的新執行個體。

方法

PostConfigure(String, CookieAuthenticationOptions)

叫用以張貼設定 TOptions 實例。

適用於