|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.rs.security.oauth.data.Token
org.apache.cxf.rs.security.oauth.data.RequestToken
public class RequestToken
Request Token representation
| Constructor Summary | |
|---|---|
RequestToken(Client client,
String tokenString,
String tokenSecret)
|
|
RequestToken(Client client,
String tokenString,
String tokenSecret,
long lifetime,
long issuedAt)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.cxf.rs.security.oauth.data.Token |
|---|
getClient, getIssuedAt, getLifetime, getScopes, getSubject, getTokenKey, getTokenSecret, isPreAuthorized, setPreAuthorized, setScopes, setSubject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestToken(Client client,
String tokenString,
String tokenSecret)
public RequestToken(Client client,
String tokenString,
String tokenSecret,
long lifetime,
long issuedAt)
| Method Detail |
|---|
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 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||