Dela via


DataProtectionTokenProviderOptions Class

Definition

Contains options for the DataProtectorTokenProvider<TUser>.

public ref class DataProtectionTokenProviderOptions
public class DataProtectionTokenProviderOptions
type DataProtectionTokenProviderOptions = class
Public Class DataProtectionTokenProviderOptions
Inheritance
DataProtectionTokenProviderOptions

Constructors

DataProtectionTokenProviderOptions()

Properties

Name

Gets or sets the name of the DataProtectorTokenProvider<TUser>. Defaults to DataProtectorTokenProvider.

TokenLifespan

Gets or sets the amount of time a generated token remains valid. Defaults to 1 day.

Applies to