@Experimental
@NoImplement
public interface PlatformManagedOAuthStateListener
extends org.mule.runtime.oauth.api.listener.OAuthStateListener
Platform Managed OAuth is an experimental feature. It will only be enabled on selected environments and scenarios. Backwards compatibility is not guaranteed.
| Modifier and Type | Method and Description |
|---|---|
default void |
onAccessToken(org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext context)
Invoked each time an access token has been obtained from the platform
|
default void |
onTokenRefreshed(org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext context)
Invoked each time a refresh token operation has been completed successfully
|
default void onAccessToken(org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext context)
context - the resulting ResourceOwnerOAuthContextdefault void onTokenRefreshed(org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext context)
context - the resulting ResourceOwnerOAuthContextCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.