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

    Constructors
    Constructor and Description
    `OAuthRequestToken(String token, String secret, String callback, String[] scopes, String[] permissions, long timeToLive, OAuthConsumer consumer)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCallback()` Returns this Token's callback
    `String` | `getVerifier()` Returns this Token's verifier
    `void` | `setVerifier(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(String token,
                           String secret,
                           String callback,
                           String[] scopes,
                           String[] permissions,
                           long timeToLive,
                           OAuthConsumer consumer)

  - ### Method Detail

    - #### getCallback

          public String getCallback()

      Returns this Token's callback

    - #### getVerifier

          public String getVerifier()

      Returns this Token's verifier

    - #### setVerifier

          public void setVerifier(String verifier)
                           throws OAuthException

      Throws:
        `OAuthException`

Copyright © 2014. All Rights Reserved.