public class OAuthToken extends Object
Constructor and Description |
---|
OAuthToken(String token,
String secret,
String[] scopes,
String[] permissions,
long timeToLive,
OAuthConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
OAuthConsumer |
getConsumer()
Returns this Token's Consumer.
|
String[] |
getPermissions()
Returns this Token's permissions
|
String[] |
getScopes()
Returns this Token's Scopes
|
String |
getSecret()
Returns this Token's Secret
|
long |
getTimestamp()
Returns this Token's timestamp
|
long |
getTimeToLive()
Returns this Token's timeToLive
|
String |
getToken()
Returns this Token's Token
|
public OAuthToken(String token, String secret, String[] scopes, String[] permissions, long timeToLive, OAuthConsumer consumer)
public OAuthConsumer getConsumer()
public String getToken()
public String getSecret()
public String[] getScopes()
public String[] getPermissions()
public long getTimestamp()
public long getTimeToLive()
Copyright © 2015 JBoss by Red Hat. All rights reserved.