org.apache.oltu.oauth2.client.response
Class OAuthAccessTokenResponse
java.lang.Object
org.apache.oltu.oauth2.client.response.OAuthClientResponse
org.apache.oltu.oauth2.client.response.OAuthAccessTokenResponse
- Direct Known Subclasses:
- GitHubTokenResponse, OAuthJSONAccessTokenResponse
public abstract class OAuthAccessTokenResponse
- extends OAuthClientResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthAccessTokenResponse
public OAuthAccessTokenResponse()
getAccessToken
public abstract String getAccessToken()
getExpiresIn
public abstract Long getExpiresIn()
getRefreshToken
public abstract String getRefreshToken()
getScope
public abstract String getScope()
getOAuthToken
public abstract OAuthToken getOAuthToken()
getBody
public String getBody()
init
protected void init(String body,
String contentType,
int responseCode)
throws OAuthProblemException
- Overrides:
init
in class OAuthClientResponse
- Throws:
OAuthProblemException
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.