DataProtectionTokenProviderOptions Class¶
Contains options for the Microsoft.AspNetCore.Identity.DataProtectorTokenProvider`1
.
- Namespace
Microsoft.AspNetCore.Identity
- Assemblies
- Microsoft.AspNetCore.Identity
Syntax¶
public class DataProtectionTokenProviderOptions
-
class
Microsoft.AspNetCore.Identity.
DataProtectionTokenProviderOptions
Properties¶
-
Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions.
Name
¶ Gets or sets the name of the
Microsoft.AspNetCore.Identity.DataProtectorTokenProvider`1
.Return type: System.String Returns: The name of the Microsoft.AspNetCore.Identity.DataProtectorTokenProvider`1
.public string Name { get; set; }
-
Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions.
TokenLifespan
¶ Gets or sets the amount of time a generated token remains valid.
Return type: System.TimeSpan Returns: The amount of time a generated token remains valid. public TimeSpan TokenLifespan { get; set; }
-