public class OAuthParameterModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
ModelProperty used on ParameterModel instances, indicating that such parameter should be used as an
OAuth parameter.
This is equivalent to the OAuthParameter annotation
| Constructor and Description |
|---|
OAuthParameterModelProperty(String requestAlias)
Deprecated.
since 1.2.1. Use
OAuthParameterModelProperty(String, HttpParameterPlacement) instead |
OAuthParameterModelProperty(String requestAlias,
HttpParameterPlacement placement) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
HttpParameterPlacement |
getPlacement() |
String |
getRequestAlias() |
boolean |
isPublic() |
@Deprecated public OAuthParameterModelProperty(String requestAlias)
OAuthParameterModelProperty(String, HttpParameterPlacement) insteadHttpParameterPlacement.QUERY_PARAMS as the default placement.requestAlias - the name under which the parameter is sent to the OAuth provider during the authentication dancepublic OAuthParameterModelProperty(String requestAlias, HttpParameterPlacement placement)
public String getRequestAlias()
public String getName()
getName in interface org.mule.runtime.api.meta.model.ModelPropertygetName in interface org.mule.runtime.api.meta.NamedObjectoauthParameterpublic HttpParameterPlacement getPlacement()
public boolean isPublic()
isPublic in interface org.mule.runtime.api.meta.model.ModelPropertyfalseCopyright © 2024 MuleSoft, Inc.. All rights reserved.