Class NSTokenManagementInfo
Syntax
Constructors
NSTokenManagementInfo()
Initializes a new instance of the NSTokenManagementInfo class.
Declaration
Methods
GetAccessToken()
Declaration
Returns
Type |
Description |
String |
Access token.
|
Examples
NSTokenManagementInfo thing;
String accessToken = thing.GetAccessToken();
GetProvider()
Declaration
Returns
Type |
Description |
String |
The provider these tokens belong to.
|
Examples
NSTokenManagementInfo thing;
String provider = thing.GetProvider();
GetRefreshToken()
Declaration
Returns
Type |
Description |
String |
Refresh token.
|
Examples
NSTokenManagementInfo thing;
String refreshToken = thing.GetRefreshToken();
SetAccessToken(String)
Declaration
Void SetAccessToken(String accessToken)
Parameters
Type |
Name |
Description |
String |
accessToken |
Access token.
|
Returns
Examples
NSTokenManagementInfo thing;
String accessToken;
thing.SetAccessToken(accessToken);
SetProvider(String)
Declaration
Void SetProvider(String provider)
Parameters
Type |
Name |
Description |
String |
provider |
The provider these tokens belong to.
|
Returns
Examples
NSTokenManagementInfo thing;
String provider;
thing.SetProvider(provider);
SetRefreshToken(String)
Declaration
Void SetRefreshToken(String refreshToken)
Parameters
Type |
Name |
Description |
String |
refreshToken |
Refresh token.
|
Returns
Examples
NSTokenManagementInfo thing;
String refreshToken;
thing.SetRefreshToken(refreshToken);