|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OAuthToken
Represents Token data as manipulated in OAuth during the 3 legged authentication. The same interface is used for Request Token and Access Token.
Nested Class Summary | |
---|---|
static class |
OAuthToken.Type
|
Method Summary | |
---|---|
String |
getAppId()
Returns consumer application identifier. |
String |
getCallbackUrl()
Returns consumer call back url (may be used to override what is provided in the OAuthConsumerRegistry . |
String |
getConsumerKey()
Gets the Consumer Key. |
Calendar |
getCreationDate()
Gets creation date of the Token. |
String |
getNuxeoLogin()
Returns Nuxeo Login as determined during the authorize phase. |
String |
getToken()
Returns OAuth token. |
String |
getTokenSecret()
Returns secret associated to the Token. |
OAuthToken.Type |
getType()
Gets the type of token: REQUEST / ACCESS. |
String |
getValue(String keyName)
Generic getter (not used for now). |
String |
getVerifier()
Gets the verifier code. |
boolean |
isExpired()
Checks is token is expired. |
void |
setNuxeoLogin(String login)
Setter for the Login. |
void |
setValue(String keyName,
String value)
Generic setter (not used for now). |
Method Detail |
---|
String getAppId()
String getCallbackUrl()
OAuthConsumerRegistry
.
String getNuxeoLogin()
String getToken()
String getTokenSecret()
String getConsumerKey()
OAuthToken.Type getType()
Calendar getCreationDate()
String getValue(String keyName)
void setValue(String keyName, String value)
String getVerifier()
boolean isExpired()
void setNuxeoLogin(String login)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |