Visual Basic (Declaration) | |
---|---|
Public Property TokenValidity As Integer |
C# | |
---|---|
public int TokenValidity {get; set;} |
With the OAuth authorization grant workflow, you can generate a permanent OAuth refresh token by specifying a token validity of -1. If you don’t specify a token validity the default refresh token validity is 2 weeks.
Property Value
The default token validity.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8