public interface OAuthAdapter extends Serializable, OnNoTokenPolicyAware
Modifier and Type | Method and Description |
---|---|
String |
getOauthVerifier()
Retrieve OAuth verifier
|
void |
hasBeenAuthorized()
Checks if the adapter has been authorized.
|
void |
setAccessToken(String accessToken) |
void |
setAccessTokenUrl(String url) |
void |
setAuthorizationUrl(String authorizationUrl) |
void |
setOauthVerifier(String value)
Set OAuth verifier
|
getOnNoTokenPolicy, setOnNoTokenPolicy
String getOauthVerifier()
void setOauthVerifier(String value)
value
- OAuth verifier to setvoid setAccessTokenUrl(String url)
void setAccessToken(String accessToken)
void setAuthorizationUrl(String authorizationUrl)
void hasBeenAuthorized() throws org.mule.common.security.oauth.exception.NotAuthorizedException
NotAuthorizedException
org.mule.common.security.oauth.exception.NotAuthorizedException
- if the adapter hasn't been authorizedCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.