public class AccessToken
extends java.lang.Object
Constructor and Description |
---|
AccessToken(JSONObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsAuthorizationRequestHeader()
Returns the value of the access token in the required format for an authorization header.
|
java.lang.String |
getAsFormEncodedBodyParameter()
Returns the value of the access token in the required format for the body of an HTTP-request entity.
|
java.lang.String |
getScope() |
java.lang.String |
getValue()
Returns the value of the access token.
|
public AccessToken(JSONObject jsonObject) throws JSONException
JSONException
public java.lang.String getValue()
public java.lang.String getAsAuthorizationRequestHeader()
public java.lang.String getAsFormEncodedBodyParameter()
public java.lang.String getScope()