public class OAuth1Profile
Modifiers | Name | Description |
---|---|---|
enum |
OAuth1Profile.AccessTokenPosition |
|
enum |
OAuth1Profile.AccessTokenStatus |
|
enum |
OAuth1Profile.RefreshAccessTokenMethods |
Constructor and description |
---|
OAuth1Profile
(OAuth1ProfileContainer OAuth1ProfileContainer, OAuth1ProfileConfig configuration) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
|
void |
addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener) |
|
void |
applyRetrievedAccessToken(java.lang.String accessToken) |
|
void |
applyRetrievedTokenSecret(java.lang.String tokenSecret) |
|
java.lang.String |
getAccessToken() |
|
long |
getAccessTokenIssuedTime() |
|
Enum |
getAccessTokenPosition() |
|
Enum |
getAccessTokenStartingStatus() |
|
Enum |
getAccessTokenStatus() |
|
java.lang.String |
getAccessTokenURI() |
|
java.lang.String |
getAuthorizationURI() |
|
OAuth1ProfileConfig |
getConfiguration() |
|
java.lang.String |
getConsumerKey() |
|
java.lang.String |
getConsumerSecret() |
|
OAuth1ProfileContainer |
getContainer() |
|
java.lang.String |
getManualAccessTokenExpirationTime() |
|
Enum |
getManualAccessTokenExpirationTimeUnit() |
|
java.lang.String |
getName() |
|
PropertyExpansion[] |
getPropertyExpansions() |
|
java.lang.String |
getRedirectURI() |
|
java.lang.String |
getTemporaryTokenURI() |
|
java.lang.String |
getTokenSecret() |
|
Enum |
getTokenSecretStartingStatus() |
|
Enum |
getTokenSecretStatus() |
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
|
void |
removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener) |
|
void |
resetAccessTokenStatusToStartingStatus() |
|
void |
resetTokenSecretStatusToStartingStatus() |
|
void |
setAccessToken(java.lang.String accessToken) NOTE: This setter should only be used from the GUI, because it also sets the property "accessTokenStatus" to ENTERED_MANUALLY |
|
void |
setAccessTokenIssuedTime(long newIssuedTime) |
|
void |
setAccessTokenPosition(Enum newAccessTokenPosition) |
|
void |
setAccessTokenStatus(Enum newStatus) |
|
void |
setAccessTokenURI(java.lang.String accessTokenURI) |
|
void |
setAuthorizationURI(java.lang.String authorizationURI) |
|
void |
setConsumerKey(java.lang.String consumerKey) |
|
void |
setConsumerSecret(java.lang.String consumerSecret) |
|
void |
setManualAccessTokenExpirationTime(java.lang.String newExpirationTime) |
|
void |
setManualAccessTokenExpirationTimeUnit(Enum newValue) |
|
void |
setName(java.lang.String newName) |
|
void |
setRedirectURI(java.lang.String redirectURI) |
|
void |
setTemporaryTokenURI(java.lang.String temporaryTokenURI) |
|
void |
setTokenSecret(java.lang.String tokenSecret) |
|
void |
setTokenSecretStartingStatus(Enum startingStatus) |
|
void |
setTokenSecretStatus(Enum newStatus) |
|
void |
setUseManualAccessTokenExpirationTime(boolean useManual) |
|
boolean |
useManualAccessTokenExpirationTime() |
|
void |
waitForAccessTokenStatus(Enum accessTokenStatus, int timeout) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
NOTE: This setter should only be used from the GUI, because it also sets the property "accessTokenStatus" to ENTERED_MANUALLY
accessToken
- the access token supplied by the user