Share via


OAuthAuthorizationServerOptions.AuthorizationCodeExpireTimeSpan Property

The period of time the authorization code remains valid after being issued. The default is five minutes. This time span must also take into account clock synchronization between servers in a web farm, so a very brief value could result in unexpectedly expired tokens.

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

Syntax

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

value = instance.AuthorizationCodeExpireTimeSpan

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

Property Value

Type: System.TimeSpan

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace