Class TokenResponse
Definition
- Namespace:
- Tizen.Account.OAuth2
- Assembly:
- Tizen.Account.OAuth2.dll
- API Level:
- 3
The response from authroization server containing access token and an optional refresh token.
C#Copypublic class TokenResponse : object
- Inheritance
-
TokenResponse
Properties
Declaration
C#Copypublic AccessToken AccessToken { get; }
Property Value
Type | Description |
---|---|
AccessToken |
API Level: 3
View Source
RefreshToken
The refresh token. The value will be null if authorization server doesn't return a refresh token.
Declaration
C#Copypublic RefreshToken RefreshToken { get; }
Property Value
Type | Description |
---|---|
RefreshToken |
Remarks
Issuing a refresh token is optional at the discretion of the authorization server.
API Level: 3
Declaration
C#Copypublic string State { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
The value can be null depending on the server specifications.
API Level: 3
Methods
Declaration
C#Copypublic void Dispose()
API Level: 3
View Source
Dispose(Boolean)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
API Level: 3
Declaration
C#Copyprotected void Finalize()
API Level: 3
Declaration
C#Copypublic string GetCustomValue(string key)
Parameters
Type | Name | Description |
---|---|---|
String | key |
Returns
Type | Description |
---|---|
String | The value of respecitve key |