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, setOnNoTokenPolicyString 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
NotAuthorizedExceptionorg.mule.common.security.oauth.exception.NotAuthorizedException - if the adapter hasn't been authorizedCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.