@NoImplement public interface AuthorizationCodeState extends OAuthState
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 |
getAccessTokenUrl() |
String |
getAuthorizationUrl() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
Optional<String> |
getExternalCallbackUrl() |
Optional<String> |
getRefreshToken() |
String |
getResourceOwnerId() |
Optional<String> |
getState() |
getAccessToken, getExpiresInString getResourceOwnerId()
String getAuthorizationUrl()
String getAccessTokenUrl()
String getConsumerKey()
String getConsumerSecret()
Optional<String> getExternalCallbackUrl()
Optional.empty() if none was providedCopyright © 2020. All rights reserved.