Class OAuthParameterModelProperty
java.lang.Object
org.mule.runtime.extension.api.connectivity.oauth.OAuthParameterModelProperty
- All Implemented Interfaces:
Serializable,org.mule.runtime.api.meta.model.ModelProperty,org.mule.runtime.api.meta.NamedObject
public class OAuthParameterModelProperty
extends Object
implements org.mule.runtime.api.meta.model.ModelProperty
A private
ModelProperty used on ParameterModel instances, indicating that such parameter should be used as an
OAuth parameter.
This is equivalent to the OAuthParameter annotation
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOAuthParameterModelProperty(String requestAlias) Deprecated.since 1.2.1.OAuthParameterModelProperty(String requestAlias, HttpParameterPlacement placement) -
Method Summary
-
Constructor Details
-
OAuthParameterModelProperty
Deprecated.since 1.2.1. UseOAuthParameterModelProperty(String, HttpParameterPlacement)insteadCreates a new instance usingHttpParameterPlacement.QUERY_PARAMSas the default placement.- Parameters:
requestAlias- the name under which the parameter is sent to the OAuth provider during the authentication dance
-
OAuthParameterModelProperty
-
-
Method Details
-
getRequestAlias
- Returns:
- the name under which the parameter is sent to the OAuth provider during the authentication dance
-
getName
- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.model.ModelProperty- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.NamedObject- Returns:
oauthParameter
-
getPlacement
- Returns:
- The parameter's placement
- Since:
- 1.2.1
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceorg.mule.runtime.api.meta.model.ModelProperty- Returns:
false
-