public abstract class OAuthAccessTokenResponse extends OAuthClientResponse
body, contentType, headers, parameters, responseCode, validator| Constructor and Description |
|---|
OAuthAccessTokenResponse() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getAccessToken() |
String |
getBody() |
abstract Long |
getExpiresIn() |
abstract org.apache.oltu.oauth2.common.token.OAuthToken |
getOAuthToken() |
abstract String |
getRefreshToken() |
abstract String |
getScope() |
abstract String |
getTokenType() |
protected void |
init(String body,
String contentType,
int responseCode) |
protected void |
init(String body,
String contentType,
int responseCode,
Map<String,List<String>> headers) |
getParam, getResponseCode, init, setBody, setBody, setContentType, setHeaders, setResponseCode, validatepublic abstract String getAccessToken()
public abstract String getTokenType()
public abstract Long getExpiresIn()
public abstract String getRefreshToken()
public abstract String getScope()
public abstract org.apache.oltu.oauth2.common.token.OAuthToken getOAuthToken()
public String getBody()
protected void init(String body, String contentType, int responseCode) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
init in class OAuthClientResponseorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.