public class ClientCredentialsOAuthHandler extends OAuthHandler<ClientCredentialsOAuthDancer>
OAuthHandler implementation for the client credentials grant typedancers, expressionEvaluator, lockFactory, muleContext, oauthService, objectStoreLocator, objectStoreManager, started| Constructor and Description |
|---|
ClientCredentialsOAuthHandler() |
| Modifier and Type | Method and Description |
|---|---|
ResourceOwnerOAuthContext |
getOAuthContext(ClientCredentialsConfig config)
Retrieves the
ResourceOwnerOAuthContext for the given config. |
void |
invalidate(ClientCredentialsConfig config)
Invalidates the OAuth state associated to the given
config |
void |
refreshToken(ClientCredentialsConfig config)
Performs the refresh token flow
|
ClientCredentialsOAuthDancer |
register(ClientCredentialsConfig config)
Becomes aware of the given
config and makes sure that the access token callback and authorization endpoints are
provisioned. |
ClientCredentialsOAuthDancer |
register(ClientCredentialsConfig config,
List<ClientCredentialsListener> listeners) |
buildObjectStoreLocator, dispose, getObjectStoreLocator, getParameterExtractors, getParameterExtractors, initialise, start, start, stoppublic ClientCredentialsOAuthDancer register(ClientCredentialsConfig config)
config and makes sure that the access token callback and authorization endpoints are
provisioned.config - an ClientCredentialsConfigpublic ClientCredentialsOAuthDancer register(ClientCredentialsConfig config, List<ClientCredentialsListener> listeners)
public void refreshToken(ClientCredentialsConfig config)
config - a registered ClientCredentialsConfigpublic ResourceOwnerOAuthContext getOAuthContext(ClientCredentialsConfig config)
ResourceOwnerOAuthContext for the given config. If no such context yet exists, then it performs
the OAuth authorization and returns the resulting context.config - a ClientCredentialsConfigResourceOwnerOAuthContext for the given config.public void invalidate(ClientCredentialsConfig config)
configconfig - a registered ClientCredentialsConfigCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.