public interface AuthorizationCodeState
ConnectionProvider implementations which are also annotated with AuthorizationCode
MUST have a field of this type. When the authorization dance is completed, the runtime will
inject in such field an instance of this class.
This class holds all the relevant information about the completed authorization dance so that the
ConnectionProvider can make use of it.| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
String |
getAccessTokenUrl() |
String |
getAuthorizationUrl() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
Optional<String> |
getExpiresIn() |
Optional<String> |
getExternalCallbackUrl() |
Optional<String> |
getRefreshToken() |
String |
getResourceOwnerId() |
Optional<String> |
getState() |
String getAccessToken()
String getResourceOwnerId()
Optional<String> getExpiresIn()
String getAuthorizationUrl()
String getAccessTokenUrl()
String getConsumerKey()
String getConsumerSecret()
Optional<String> getExternalCallbackUrl()
Optional.empty() if none was providedCopyright © 2017 MuleSoft, Inc.. All rights reserved.