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

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

Property Value

Type: System.TimeSpan

Returns TimeSpan.

See Also

OAuthAuthorizationServerOptions Class
Microsoft.Owin.Security.OAuth Namespace

Return to top