public class GitHubTokenResponse extends OAuthAccessTokenResponse
body, contentType, headers, parameters, responseCode, validator| Constructor and Description |
|---|
GitHubTokenResponse() |
| 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 getRefreshToken()
getRefreshToken in class OAuthAccessTokenResponsepublic String getScope()
getScope in class OAuthAccessTokenResponsepublic org.apache.oltu.oauth2.common.token.OAuthToken getOAuthToken()
getOAuthToken in class OAuthAccessTokenResponseprotected void setBody(String body)
OAuthClientResponsesetBody in class OAuthClientResponsebody - A String representing the response body.protected 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.