public class RequestToken extends Token
Constructor and Description |
---|
RequestToken(Client client,
String tokenString,
String tokenSecret) |
RequestToken(Client client,
String tokenString,
String tokenSecret,
long lifetime,
long issuedAt) |
Modifier and Type | Method and Description |
---|---|
String |
getCallback()
Gets the callback URI
|
String |
getState()
Gets the state
|
String |
getVerifier()
Gets the token verifier
|
void |
setCallback(String callback)
Sets the callback URI
|
void |
setState(String state)
Sets the state - it will be reported back to the consumer
after the authorization decision on this token has been made.
|
void |
setVerifier(String verifier)
Sets the token verifier
|
getClient, getIssuedAt, getLifetime, getScopes, getSubject, getTokenKey, getTokenSecret, isPreAuthorized, setPreAuthorized, setScopes, setSubject
public void setVerifier(String verifier)
oauthVerifier
- public String getVerifier()
public void setCallback(String callback)
callback
- the callbackpublic String getCallback()
public void setState(String state)
state
- public String getState()
Apache CXF