Share via


DefaultPersonalDataProtector Class

Definition

Default implementation of IPersonalDataProtector that uses ILookupProtectorKeyRing and ILookupProtector to protect data with a payload format of {keyId}:{protectedData}

public ref class DefaultPersonalDataProtector : Microsoft::AspNetCore::Identity::IPersonalDataProtector
public class DefaultPersonalDataProtector : Microsoft.AspNetCore.Identity.IPersonalDataProtector
type DefaultPersonalDataProtector = class
    interface IPersonalDataProtector
Public Class DefaultPersonalDataProtector
Implements IPersonalDataProtector
Inheritance
DefaultPersonalDataProtector
Implements

Constructors

DefaultPersonalDataProtector(ILookupProtectorKeyRing, ILookupProtector)

Constructor.

Methods

Protect(String)

Protect the data.

Unprotect(String)

Unprotect the data.

Applies to