org.jboss.resteasy.auth.oauth
Class OAuthRequestToken

java.lang.Object
  extended by org.jboss.resteasy.auth.oauth.OAuthToken
      extended by 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 org.jboss.resteasy.auth.oauth.OAuthToken
getConsumer, getPermissions, getScopes, getSecret, getTimestamp, getTimeToLive, getToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.