## Uses of Class
org.jboss.resteasy.auth.oauth.OAuthToken

- Packages that use OAuthToken
  Package | Description
  --- | ---
  org.jboss.resteasy.auth.oauth |
  org.jboss.resteasy.test.smoke |

- - ### Uses of OAuthToken in org.jboss.resteasy.auth.oauth

    Subclasses of OAuthToken in org.jboss.resteasy.auth.oauth
    Modifier and Type | Class and Description
    --- | ---
    `class` | `OAuthRequestToken` Represents either an OAuth Access or Request Token.

    Methods in org.jboss.resteasy.auth.oauth that return OAuthToken
    Modifier and Type | Method and Description
    --- | ---
    `OAuthToken` | OAuthProviderChecker.`getAccessToken(String consumerKey, String accessKey)`
    `OAuthToken` | OAuthProvider.`getAccessToken(String consumerKey, String accessToken)` Returns the OAuth Access Token for the given Consumer key and Access Token.
    `OAuthToken` | OAuthMemoryProvider.`getAccessToken(String consumerKey, String accessToken)`
    `OAuthToken` | OAuthProviderChecker.`makeAccessToken(String consumerKey, String requestKey, String verifier)`
    `OAuthToken` | OAuthProvider.`makeAccessToken(String consumerKey, String requestToken, String verifier)` Make a new OAuth Access Token for the given Consumer, using the given Request Token and Verifier.
    `OAuthToken` | OAuthMemoryProvider.`makeAccessToken(String consumerKey, String requestToken, String verifier)`
    `OAuthToken` | OAuthProviderChecker.`makeRequestToken(String consumerKey, String callback, String[] scopes, String[] permissions)`
    `OAuthToken` | OAuthProvider.`makeRequestToken(String consumerKey, String callback, String[] scopes, String[] permissions)` Make a new OAuth Request Token for the given Consumer, using the given callback.

    Methods in org.jboss.resteasy.auth.oauth with parameters of type OAuthToken
    Modifier and Type | Method and Description
    --- | ---
    `void` | OAuthProviderChecker.`checkTimestamp(OAuthToken token, long timestamp)`
    `void` | OAuthProvider.`checkTimestamp(OAuthToken token, long timestamp)` Checks that the given timestamp is valid for the given OAuth Token.
    `void` | OAuthMemoryProvider.`checkTimestamp(OAuthToken token, long timestamp)`
    `protected javax.servlet.http.HttpServletRequest` | OAuthFilter.`createSecurityContext(javax.servlet.http.HttpServletRequest request, OAuthConsumer consumer, OAuthToken accessToken)`
    `void` | OAuthValidator.`validateMessage(net.oauth.OAuthMessage message, net.oauth.OAuthAccessor accessor, OAuthToken requestToken)` Overridden to validate the timestamp and nonces last since they have side-effects of storing data about the message, so we have to make sure the message is valid before we do that.
    `static void` | OAuthUtils.`validateRequestWithAccessToken(javax.servlet.http.HttpServletRequest request, net.oauth.OAuthMessage message, OAuthToken accessToken, OAuthValidator validator, OAuthConsumer consumer)`
    `protected void` | OAuthValidator.`validateTimestamp(net.oauth.OAuthMessage message, long timestamp, OAuthToken token)` Overridden to delegate timestamp validation to the provider
    `protected void` | OAuthValidator.`validateTimestampAndNonce(net.oauth.OAuthMessage message, OAuthToken token)` Throw an exception if the timestamp is out of range or the nonce has been validated previously.

  - ### Uses of OAuthToken in org.jboss.resteasy.test.smoke

    Methods in org.jboss.resteasy.test.smoke with parameters of type OAuthToken
    Modifier and Type | Method and Description
    --- | ---
    `protected javax.servlet.http.HttpServletRequest` | MyFilter.`createSecurityContext(javax.servlet.http.HttpServletRequest request, OAuthConsumer consumer, OAuthToken accessToken)`

Copyright © 2014. All Rights Reserved.