Class OAuthModelProperty
java.lang.Object
org.mule.runtime.extension.api.connectivity.oauth.OAuthModelProperty
- All Implemented Interfaces:
Serializable,org.mule.runtime.api.meta.model.ModelProperty,org.mule.runtime.api.meta.NamedObject
public class OAuthModelProperty
extends Object
implements org.mule.runtime.api.meta.model.ModelProperty
A public
ModelProperty used to indicate that a ConnectionProvider supports a number of OAuth2 grant types- Since:
- 1.0
- See Also:
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
OAuthModelProperty
Creates a new instance- Parameters:
grantTypes- thegrant typessupported
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.model.ModelProperty- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.NamedObject- Returns:
oauth
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceorg.mule.runtime.api.meta.model.ModelProperty- Returns:
true
-
getGrantTypes
- Returns:
- the supported grant types
-