Spring Social

org.springframework.social.oauth1
Class AuthorizedRequestToken

java.lang.Object
  extended by org.springframework.social.oauth1.AuthorizedRequestToken

public class AuthorizedRequestToken
extends java.lang.Object

A OAuth 1.0 request token that has been authorized by the user. Constructed after the user grants the consumer application access to their data hosted at the service provider. This is typically achieved by the user clicking "Allow" over at the provider's site. The service provider returns a Verifier string in the authorization callback that must also be submitted in the access token request.

Author:
Keith Donald

Constructor Summary
AuthorizedRequestToken(OAuthToken requestToken, java.lang.String verifier)
          Creates an authorized request token.
 
Method Summary
 java.lang.String getSecret()
          The request token secret.
 java.lang.String getValue()
          The request token value.
 java.lang.String getVerifier()
          The verifier string generated by the provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizedRequestToken

public AuthorizedRequestToken(OAuthToken requestToken,
                              java.lang.String verifier)
Creates an authorized request token.

Parameters:
requestToken - the request token object
Method Detail

getValue

public java.lang.String getValue()
The request token value.


getSecret

public java.lang.String getSecret()
The request token secret.


getVerifier

public java.lang.String getVerifier()
The verifier string generated by the provider.


Spring Social