Share via


OAuthApplication.TokenLifeTime Property

The life-time of the application's access tokens in seconds. -1 means no life-time is specified. 0 means the tokens will never expire.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Property TokenLifeTime As Integer
public int TokenLifeTime { get; set; }
public:
property int TokenLifeTime {
    int get ();
    void set (int value);
}
member TokenLifeTime : int with get, set
function get TokenLifeTime () : int 
function set TokenLifeTime (value : int)

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

OAuthApplication Class

Microsoft.TeamFoundation.Framework.Server Namespace