| Package | Description |
|---|---|
| org.mule.runtime.oauth.api | |
| org.mule.runtime.oauth.api.builder | |
| org.mule.runtime.oauth.api.listener | |
| org.mule.runtime.oauth.api.state |
| Modifier and Type | Method and Description |
|---|---|
ResourceOwnerOAuthContext |
PlatformManagedOAuthDancer.getContext()
Retrieves the oauth context.
|
ResourceOwnerOAuthContext |
ClientCredentialsOAuthDancer.getContext()
Retrieves the oauth context.
|
ResourceOwnerOAuthContext |
AuthorizationCodeOAuthDancer.getContextForResourceOwner(String resourceOwnerId)
Retrieves the oauth context for a particular user.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ClientCredentialsListener.onTokenRefreshed(ResourceOwnerOAuthContext context)
Deprecated.
Invoked each time a refresh token operation has been completed successfully
|
| Modifier and Type | Method and Description |
|---|---|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.afterDanceCallback(BiConsumer<AuthorizationCodeDanceCallbackContext,ResourceOwnerOAuthContext> callback)
Allows custom code to be run after doing the request to the provided
tokenUrl and processing its results. |
| Modifier and Type | Method and Description |
|---|---|
default void |
PlatformManagedOAuthStateListener.onAccessToken(ResourceOwnerOAuthContext context)
Invoked each time an access token has been obtained from the platform
|
default void |
AuthorizationCodeListener.onAuthorizationCompleted(ResourceOwnerOAuthContext context)
Invoked when an authorization dance has been completed.
|
default void |
AuthorizationCodeListener.onTokenRefreshed(ResourceOwnerOAuthContext context)
Invoked each time a refresh token operation has been completed successfully
|
default void |
ClientCredentialsListener.onTokenRefreshed(ResourceOwnerOAuthContext context)
Invoked each time a refresh token operation has been completed successfully
|
default void |
PlatformManagedOAuthStateListener.onTokenRefreshed(ResourceOwnerOAuthContext context)
Invoked each time a refresh token operation has been completed successfully
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultResourceOwnerOAuthContext
Deprecated.
Use
ResourceOwnerOAuthContextWithRefreshState instead. |
class |
ResourceOwnerOAuthContextWithRefreshState
OAuth state for a particular resource owner which typically represents an user.
|
| Constructor and Description |
|---|
ResourceOwnerOAuthContextWithRefreshState(ResourceOwnerOAuthContext original)
Since the runtime can be upgraded when there are already contexts stored, previous versions must be migrated to the new one.
|
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.