Share via


IdentityBuilder.AddPersonalDataProtection<TProtector,TKeyRing> メソッド

定義

と を ILookupProtector 追加します ILookupProtectorKeyRing

public:
generic <typename TProtector, typename TKeyRing>
 where TProtector : class, Microsoft::AspNetCore::Identity::ILookupProtector where TKeyRing : class, Microsoft::AspNetCore::Identity::ILookupProtectorKeyRing virtual Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddPersonalDataProtection();
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddPersonalDataProtection<TProtector,TKeyRing> () where TProtector : class, Microsoft.AspNetCore.Identity.ILookupProtector where TKeyRing : class, Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing;
abstract member AddPersonalDataProtection : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Protector : null and 'Protector :> Microsoft.AspNetCore.Identity.ILookupProtector and 'KeyRing : null and 'KeyRing :> Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing)
override this.AddPersonalDataProtection : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Protector : null and 'Protector :> Microsoft.AspNetCore.Identity.ILookupProtector and 'KeyRing : null and 'KeyRing :> Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing)
Public Overridable Function AddPersonalDataProtection(Of TProtector As {Class, ILookupProtector}, TKeyRing As {Class, ILookupProtector}) () As IdentityBuilder

型パラメーター

TProtector

個人データ保護機能の種類。

TKeyRing

個人データ保護機能のキー リングの種類。

戻り値

現在の IdentityBuilder インスタンス。

適用対象