DataProtectionTokenProviderOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |