AuthorizationToken class - Android
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- API reference
The AuthorizationToken class provides the authorization token provided by the host application. Used by the NowSDK to authorize access to a specified ServiceNow instance for the currently logged in user.
Name | Type | Description |
---|---|---|
token | String | Value of the authorization token. |
type | String | Type of authorization token. Valid values (case-sensitive):
|
AuthorizatonToken - AuthorizationToken(type: AuthorizationTokenType, token: String)
Returns the authorization token provided by the host application.
Name | Type | Description |
---|---|---|
type | String | Type of authorization token. Valid values (case-sensitive):
|
token | String | Value of the authorization token. |
Type | Description |
---|---|
None |