public interface OAuthToken
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_ID
Client Id parameter name.
|
static String |
EXPIRES_ON
Expires On parameter name.
|
static String |
GRANT_TYPE_CREDENTIALS
Credentials grant type.
|
static String |
GRANT_TYPE_REFRESH
Refresh token grant type.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes()
The OAuth attributes passed in the OAuth Token.
|
String |
getClientId()
The client_id.
|
long |
getExpiresOn()
The time the token will expire in ms.
|
String |
getRefreshToken()
Token, to be used to refresh OAuth token.
|
String |
getToken()
The token itself.
|
static final String GRANT_TYPE_CREDENTIALS
static final String GRANT_TYPE_REFRESH
static final String CLIENT_ID
static final String EXPIRES_ON
String getClientId()
Map<String,String> getAttributes()
long getExpiresOn()
String getToken()
String getRefreshToken()
Copyright © 2019 SDL Group. All rights reserved.