Share via


DataProtectorTokenProvider<TUser, TKey>.TokenLifespan Property

 

Gets or sets the lifespan after which the token is considered expired.

Namespace:   Microsoft.AspNet.Identity.Owin
Assembly:  Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)

Syntax

public TimeSpan TokenLifespan { get; set; }
public:
property TimeSpan TokenLifespan {
    TimeSpan get();
    void set(TimeSpan value);
}
member TokenLifespan : TimeSpan with get, set
Public Property TokenLifespan As TimeSpan

Property Value

Type: System.TimeSpan

The lifespan after which the token is considered expired.

See Also

DataProtectorTokenProvider<TUser, TKey> Class
Microsoft.AspNet.Identity.Owin Namespace
ASP.NET Identity

Return to top