org.jboss.resteasy.auth.oauth
Class OAuthRequestToken
java.lang.Object
org.jboss.resteasy.auth.oauth.OAuthToken
org.jboss.resteasy.auth.oauth.OAuthRequestToken
public class OAuthRequestToken
- extends OAuthToken
Represents either an OAuth Access or Request Token.
- Author:
- Stéphane Épardaud
Constructor Summary |
OAuthRequestToken(java.lang.String token,
java.lang.String secret,
java.lang.String callback,
java.lang.String[] scopes,
java.lang.String[] permissions,
long timeToLive,
OAuthConsumer consumer)
|
Method Summary |
java.lang.String |
getCallback()
Returns this Token's callback |
java.lang.String |
getVerifier()
Returns this Token's verifier |
void |
setVerifier(java.lang.String verifier)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthRequestToken
public OAuthRequestToken(java.lang.String token,
java.lang.String secret,
java.lang.String callback,
java.lang.String[] scopes,
java.lang.String[] permissions,
long timeToLive,
OAuthConsumer consumer)
getCallback
public java.lang.String getCallback()
- Returns this Token's callback
getVerifier
public java.lang.String getVerifier()
- Returns this Token's verifier
setVerifier
public void setVerifier(java.lang.String verifier)
throws OAuthException
- Throws:
OAuthException
Copyright © 2010. All Rights Reserved.