public class GoogleOAuthParameters extends OAuthParameters
OAuthParameters.OAuthType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCOPE_KEY |
baseParameters, extraParameters, OAUTH_CALLBACK_KEY, OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, OAUTH_KEY, OAUTH_NONCE_KEY, OAUTH_SIGNATURE_KEY, OAUTH_SIGNATURE_METHOD_KEY, OAUTH_TIMESTAMP_KEY, OAUTH_TOKEN_KEY, OAUTH_TOKEN_SECRET_KEY, OAUTH_VERIFIER_KEY, REALM_KEY, XOAUTH_REQUESTOR_ID_KEY
Constructor and Description |
---|
GoogleOAuthParameters() |
Modifier and Type | Method and Description |
---|---|
void |
assertScopeExists()
Checks to see if the scope exists.
|
boolean |
checkScopeExists()
Checks to see if the scope exists.
|
java.lang.String |
getScope()
Return the request scope.
|
void |
reset()
Since the scope parameter may be different for each OAuth request, it is
cleared between requests, and must be manually set before each request.
|
void |
setScope(java.lang.String scope)
Sets the request scope.
|
addCustomBaseParameter, addExtraParameter, assertExists, assertOAuthCallbackExists, assertOAuthConsumerKeyExists, assertOAuthConsumerSecretExists, assertOAuthNonceExists, assertOAuthSignatureExists, assertOAuthSignatureMethodExists, assertOAuthTimestampExists, assertOAuthTokenExists, assertOAuthTokenSecretExists, assertOAuthVerifierExists, assertRealmExists, checkExists, checkOAuthCallbackExists, checkOAuthConsumerKeyExists, checkOAuthConsumerSecretExists, checkOAuthNonceExists, checkOAuthSignatureExists, checkOAuthSignatureMethodExists, checkOAuthTimestampExists, checkOAuthTokenExists, checkOAuthTokenSecretExists, checkOAuthVerifierExists, checkRealmExists, get, getBaseParameters, getExtraParameters, getOAuthCallback, getOAuthConsumerKey, getOAuthConsumerSecret, getOAuthNonce, getOAuthSignature, getOAuthSignatureMethod, getOAuthTimestamp, getOAuthToken, getOAuthTokenSecret, getOAuthType, getOAuthVerifier, getRealm, put, remove, removeCustomBaseParameter, setOAuthCallback, setOAuthConsumerKey, setOAuthConsumerSecret, setOAuthNonce, setOAuthSignature, setOAuthSignatureMethod, setOAuthTimestamp, setOAuthToken, setOAuthTokenSecret, setOAuthType, setOAuthVerifier, setRealm
public static final java.lang.String SCOPE_KEY
public java.lang.String getScope()
public void setScope(java.lang.String scope)
getScope()
to learn more about this
parameter.public boolean checkScopeExists()
getScope()
to learn more
about this parameter.public void assertScopeExists() throws OAuthException
getScope()
to learn more about this parameter.OAuthException
- if the scope does not existpublic void reset()
reset
in class OAuthParameters