Поделиться через


IdentityBuilder.AddPersonalDataProtection<TProtector,TKeyRing> Метод

Определение

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.

Применяется к