|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.auth.oauth.OAuthToken
public class OAuthToken
Represents either an OAuth Access or Request Token.
Constructor Summary | |
---|---|
OAuthToken(java.lang.String token,
java.lang.String secret,
java.lang.String[] scopes,
java.lang.String[] permissions,
long timeToLive,
OAuthConsumer consumer)
|
Method Summary | |
---|---|
OAuthConsumer |
getConsumer()
Returns this Token's Consumer. |
java.lang.String[] |
getPermissions()
Returns this Token's permissions |
java.lang.String[] |
getScopes()
Returns this Token's Scopes |
java.lang.String |
getSecret()
Returns this Token's Secret |
long |
getTimestamp()
Returns this Token's timestamp |
long |
getTimeToLive()
Returns this Token's timeToLive |
java.lang.String |
getToken()
Returns this Token's Token |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OAuthToken(java.lang.String token, java.lang.String secret, java.lang.String[] scopes, java.lang.String[] permissions, long timeToLive, OAuthConsumer consumer)
Method Detail |
---|
public OAuthConsumer getConsumer()
public java.lang.String getToken()
public java.lang.String getSecret()
public java.lang.String[] getScopes()
public java.lang.String[] getPermissions()
public long getTimestamp()
public long getTimeToLive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |