DataProtectionTokenProviderOptions Class

Summary

Contains options for the DataProtectorTokenProvider<TUser>.

Syntax

public class DataProtectionTokenProviderOptions

GitHub

View on GitHub

class Microsoft.AspNet.Identity.DataProtectionTokenProviderOptions

Properties

Name()

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

Return type:System.String
public string Name { get; set; }
TokenLifespan()

Gets or sets the amount of time a generated token remains valid.

Return type:System.TimeSpan
public TimeSpan TokenLifespan { get; set; }