CookieAuthenticationOptions.DataProtectionProvider 属性

定义

如果设置此项,CookieAuthenticationHandler 将用于数据保护。

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; }
public Microsoft.AspNetCore.DataProtection.IDataProtectionProvider? DataProtectionProvider { get; set; }
member this.DataProtectionProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider with get, set
Public Property DataProtectionProvider As IDataProtectionProvider

属性值

适用于