Share via


OAuthAuthorizationServerOptions.AccessTokenExpireTimeSpan Property

The period of time the access token remains valid after being issued. The default is twenty minutes. The client application is expected to refresh or acquire a new access token after the token has expired.

Namespace:  Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

'Declaration
Public Property AccessTokenExpireTimeSpan As TimeSpan 
    Get 
    Set
'Usage
Dim instance As OAuthAuthorizationServerOptions 
Dim value As TimeSpan 

value = instance.AccessTokenExpireTimeSpan

instance.AccessTokenExpireTimeSpan = value
public TimeSpan AccessTokenExpireTimeSpan { get; set; }
public:
property TimeSpan AccessTokenExpireTimeSpan {
    TimeSpan get ();
    void set (TimeSpan value);
}
member AccessTokenExpireTimeSpan : TimeSpan with get, set
function get AccessTokenExpireTimeSpan () : TimeSpan 
function set AccessTokenExpireTimeSpan (value : TimeSpan)

Property Value

Type: System.TimeSpan

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace