public interface OAuthToken
Modifier and Type | Interface and Description |
---|---|
static class |
OAuthToken.Type |
Modifier and Type | Method and Description |
---|---|
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).
|
String getCallbackUrl()
OAuthConsumerRegistry
.String getNuxeoLogin()
String getTokenSecret()
String getConsumerKey()
OAuthToken.Type getType()
Calendar getCreationDate()
String getVerifier()
boolean isExpired()
void setNuxeoLogin(String login)
Copyright © 2018 Nuxeo. All rights reserved.