IdentityBuilder.AddPersonalDataProtection<TProtector,TKeyRing> Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Adiciona um ILookupProtector e 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
Parâmetros de tipo
- TProtector
O tipo de protetor de dados pessoais.
- TKeyRing
O tipo de anel de chave do protetor de dados pessoal.
Retornos
A instância IdentityBuilder atual.