public interface AuthorizationCodeGrantType extends ApplicationCredentials
Modifier and Type | Method and Description |
---|---|
String |
getExternalRedirectionUrl() |
AttributeEvaluator |
getLocalAuthorizationUrlResourceOwnerIdEvaluator() |
String |
getRedirectionUrl() |
String |
getRefreshTokenWhen() |
AttributeEvaluator |
getResourceOwnerIdEvaluator() |
TlsContextFactory |
getTlsContext() |
ConfigOAuthContext |
getUserOAuthContext() |
void |
refreshToken(MuleEvent currentFlowEvent,
String resourceOwnerId)
Does a refresh token for a particular oauth context id.
|
getClientId, getClientSecret
String getRedirectionUrl()
String getExternalRedirectionUrl()
String getRefreshTokenWhen()
AttributeEvaluator getLocalAuthorizationUrlResourceOwnerIdEvaluator()
AttributeEvaluator getResourceOwnerIdEvaluator()
void refreshToken(MuleEvent currentFlowEvent, String resourceOwnerId) throws MuleException
currentFlowEvent
- event from the flow that requires a new access token.resourceOwnerId
- the id of the oauth context to refresh.MuleException
ConfigOAuthContext getUserOAuthContext()
TlsContextFactory getTlsContext()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.