Interface OAuthGrantType
- All Superinterfaces:
org.mule.runtime.api.meta.NamedObject
- All Known Implementing Classes:
AuthorizationCodeGrantType,ClientCredentialsGrantType,PlatformManagedOAuthGrantType
@NoImplement
public interface OAuthGrantType
extends org.mule.runtime.api.meta.NamedObject
Base contract for a Grant Type as defined in the OAuth2 specification.
Instances are to contain information about how to use this grant type against a particular OAuth provider.
- Since:
- 1.0
-
Method Summary
Methods inherited from interface org.mule.runtime.api.meta.NamedObject
getName
-
Method Details
-
getAccessTokenExpr
String getAccessTokenExpr()- Returns:
- The expression to be used to extract the access token from the service provider response
- Since:
- 1.3.0
-
getExpirationRegex
String getExpirationRegex()- Returns:
- The regular expression to be used to extract the expiration time from the service provider response
- Since:
- 1.3.0
-
accept
Accepts a visitor- Parameters:
visitor- anOAuthGrantTypeVisitor- Since:
- 1.2.1
-