public interface OAuth2Token
Modifier and Type | Method and Description |
---|---|
String |
createAccessTokenRequestHeaderValue(HttpURLConnection httpURLConnection)
Gets the formatted HTTP Authorization Header value for the OAuth 2.0 Access Token.
|
String |
getAccessToken()
Get the OAuth 2.0 access token string
|
String |
getAccessTokenType()
Get the OAuth 2.0 Access Token type.
|
OAuth2Context |
getOAuth2Context()
Convenience method to get the OAuth2Context from the OAuth2Token
|
String |
getProperty(String key)
Get a property from the OAuth 2.0 Access Token response
|
String getAccessToken()
String getAccessTokenType()
String createAccessTokenRequestHeaderValue(HttpURLConnection httpURLConnection) throws IOException
httpURLConnection
- HttpURLConnection (not used for bearer tokens. required for mac tokensIOException
OAuth2Context getOAuth2Context()