Mule DevKit Annotations
Package Index
|
Class Index
org.mule.api
org.mule.api.adapter
org.mule.api.annotations.oauth
org.mule.api.callback
org.mule.api.oauth
Interfaces
OAuth1Adapter
OAuth2Adapter
OAuthAdapter
RestoreAccessTokenCallback
SaveAccessTokenCallback
Exceptions
NotAuthorizedException
UnableToAcquireAccessTokenException
UnableToAcquireRequestTokenException
Package Index
|
Class Index
Summary:
Methods
|
Inherited Methods
|
[Expand All]
public interface
OAuth2Adapter
implements
OAuthAdapter
org.mule.api.oauth.OAuth2Adapter
Summary
Public Methods
abstract boolean
hasTokenExpired
()
abstract void
setExpiration
(
Date
value)
[Expand]
Inherited Methods
From interface
org.mule.api.oauth.OAuthAdapter
abstract void
fetchAccessToken
()
Acquire access token and secret
abstract
String
getAccessToken
()
Retrieve access token
abstract
String
getAuthorizationUrl
()
Retrieve authorization url
abstract
RestoreAccessTokenCallback
getOauthRestoreAccessToken
()
Get the callback to be called when the access token and secret need to be restored
abstract
SaveAccessTokenCallback
getOauthSaveAccessToken
()
Get the callback to be called when the access token and secret need to be saved for later restoration
abstract
String
getOauthVerifier
()
Retrieve OAuth verifier
abstract
String
getRedirectUrl
()
Retrieve redirect url
abstract void
setAccessToken
(
String
value)
Set access token
abstract void
setOauthRestoreAccessToken
(
RestoreAccessTokenCallback
restoreCallback)
Set the callback to be called when the access token and secret need to be restored
abstract void
setOauthSaveAccessToken
(
SaveAccessTokenCallback
saveCallback)
Set the callback to be called when the access token and secret need to be saved for later restoration
abstract void
setOauthVerifier
(
String
value)
Set OAuth verifier
Public Methods
public abstract boolean
hasTokenExpired
()
public abstract void
setExpiration
(
Date
value)