Class SimpleTokenStrategy.RequestTokenData
java.lang.Object
org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
- Enclosing class:
- SimpleTokenStrategy
Holds information associated with a request token such as the callback
URL and OAuth verification code.
- Author:
- Samuel Padgett
-
Constructor Summary
ConstructorsConstructorDescriptionRequestTokenData
(String consumerKey) RequestTokenData
(String consumerKey, String callback) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAuthorized
(boolean authorized) void
setCallback
(String callback) void
setConsumerKey
(String consumerKey) void
setVerificationCode
(String verificationCode)
-
Constructor Details
-
RequestTokenData
-
RequestTokenData
-
-
Method Details
-
getConsumerKey
-
setConsumerKey
-
isAuthorized
public boolean isAuthorized() -
setAuthorized
public void setAuthorized(boolean authorized) -
getCallback
-
setCallback
-
getVerificationCode
-
setVerificationCode
-