共用方式為


CookieAuthenticationOptions.DataProtectionProvider 屬性

定義

如果設定此設定,CookieAuthenticationMiddleware 將會用於資料保護。

public:
 property Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ DataProtectionProvider { Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ get(); void set(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ value); };
public Microsoft.AspNetCore.DataProtection.IDataProtectionProvider DataProtectionProvider { get; set; }
member this.DataProtectionProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider with get, set
Public Property DataProtectionProvider As IDataProtectionProvider

屬性值

適用於