Partager via


IdentityBuilder.AddPersonalDataProtection<TProtector,TKeyRing> Méthode

Définition

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

Paramètres de type

TProtector

Type de protecteur de données personnelles.

TKeyRing

Type d’anneau de clés du protecteur de données personnelles.

Retours

Instance actuelle de IdentityBuilder.

S’applique à