EphemeralDataProtectionProvider.CreateProtector(String) Method

Definition

Creates an IDataProtector given a purpose.

public Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector (string purpose);

Parameters

purpose
String

The purpose to be assigned to the newly-created IDataProtector.

Returns

An IDataProtector tied to the provided purpose.

Implements

Applies to