public final class OAuth2DataImpl extends Object implements OAuthData
Constructor and Description |
---|
OAuth2DataImpl(String apikey,
String apiSecret) |
OAuth2DataImpl(String apikey,
String apiSecret,
String accessToken,
String refreshToken) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken()
Returns the access token that can be used to make requests.
|
String |
getApiKey()
Returns the API key.
|
String |
getApiSecret()
Returns the API secret.
|
String |
getRefreshToken()
Returns the refresh token that can be used to get a new access token.
|
void |
parseTokenResponse(Map<String,Object> json) |
public String getAccessToken()
getAccessToken
in interface OAuthData
public String getRefreshToken()
getRefreshToken
in interface OAuthData
public String getApiKey()
public String getApiSecret()
getApiSecret
in interface OAuthData
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.