Spring Social

org.springframework.social.oauth1
Class OAuthToken

java.lang.Object
  extended by org.springframework.social.oauth1.OAuthToken
All Implemented Interfaces:
java.io.Serializable

public class OAuthToken
extends java.lang.Object
implements java.io.Serializable

Holds an OAuth token and secret. Used for both the request token and access token.

Author:
Keith Donald
See Also:
Serialized Form

Constructor Summary
OAuthToken(java.lang.String value, java.lang.String secret)
          Create a new OAuth token with a token value and secret.
 
Method Summary
 java.lang.String getSecret()
          The token secret.
 java.lang.String getValue()
          The token value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthToken

public OAuthToken(java.lang.String value,
                  java.lang.String secret)
Create a new OAuth token with a token value and secret.

Method Detail

getValue

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


getSecret

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


Spring Social