public class OAuthJSONAccessTokenResponse extends OAuthAccessTokenResponse
body, contentType, headers, parameters, responseCode, validator| Constructor and Description |
|---|
OAuthJSONAccessTokenResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
Long |
getExpiresIn() |
org.apache.oltu.oauth2.common.token.OAuthToken |
getOAuthToken() |
String |
getRefreshToken() |
String |
getScope() |
String |
getTokenType() |
protected void |
setBody(String body)
Allows setting the response body to a String value.
|
protected void |
setContentType(String contentType) |
protected void |
setResponseCode(int code) |
getBody, init, initgetParam, getResponseCode, init, setBody, setHeaders, validatepublic String getAccessToken()
getAccessToken in class OAuthAccessTokenResponsepublic String getTokenType()
getTokenType in class OAuthAccessTokenResponsepublic Long getExpiresIn()
getExpiresIn in class OAuthAccessTokenResponsepublic String getScope()
getScope in class OAuthAccessTokenResponsepublic org.apache.oltu.oauth2.common.token.OAuthToken getOAuthToken()
getOAuthToken in class OAuthAccessTokenResponsepublic String getRefreshToken()
getRefreshToken in class OAuthAccessTokenResponseprotected void setBody(String body) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
OAuthClientResponsesetBody in class OAuthClientResponsebody - A String representing the response body.org.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected void setContentType(String contentType)
setContentType in class OAuthClientResponseprotected void setResponseCode(int code)
setResponseCode in class OAuthClientResponseCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.