Class PlatformManagedOAuthGrantType
java.lang.Object
org.mule.runtime.extension.api.connectivity.oauth.PlatformManagedOAuthGrantType
- All Implemented Interfaces:
org.mule.runtime.api.meta.NamedObject,OAuthGrantType
@Experimental
public final class PlatformManagedOAuthGrantType
extends Object
implements OAuthGrantType
A grant type that represent a Platform Managed OAuth connections. This grant type could be consider synthetic as this doesn't
exist in the OAuth specification.
Platform Managed OAuth is an experimental feature. It will only be enabled on selected environments and scenarios. Backwards compatibility is not guaranteed.
- Since:
- 1.3.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(OAuthGrantTypeVisitor visitor) Accepts a visitorgetName()
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
PlatformManagedOAuthGrantType
public PlatformManagedOAuthGrantType()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.NamedObject
-
getAccessTokenExpr
- Specified by:
getAccessTokenExprin interfaceOAuthGrantType- Returns:
- The expression to be used to extract the access token from the service provider response
-
getExpirationRegex
- Specified by:
getExpirationRegexin interfaceOAuthGrantType- Returns:
- The regular expression to be used to extract the expiration time from the service provider response
-
accept
Description copied from interface:OAuthGrantTypeAccepts a visitor- Specified by:
acceptin interfaceOAuthGrantType- Parameters:
visitor- anOAuthGrantTypeVisitor
-