@NoImplement public interface OAuthClientCredentialsDancerBuilder extends OAuthDancerBuilder<ClientCredentialsOAuthDancer>
| Modifier and Type | Method and Description |
|---|---|
OAuthClientCredentialsDancerBuilder |
addListener(ClientCredentialsListener listener)
Adds the
listener. |
OAuthClientCredentialsDancerBuilder |
customHeaders(Map<String,String> customHeaders) |
OAuthClientCredentialsDancerBuilder |
customParameters(Map<String,String> customParameters) |
OAuthClientCredentialsDancerBuilder |
encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody)
Deprecated.
since 4.2.0. Use
OAuthDancerBuilder.withClientCredentialsIn(ClientCredentialsLocation) instead. |
build, clientCredentials, customParametersExtractorsExprs, encoding, name, resourceOwnerIdTransformer, responseAccessTokenExpr, responseExpiresInExpr, responseRefreshTokenExpr, scopes, tokenUrl, tokenUrl, tokenUrl, tokenUrl, tokenUrl, withClientCredentialsInOAuthClientCredentialsDancerBuilder customParameters(Map<String,String> customParameters)
OAuthClientCredentialsDancerBuilder customHeaders(Map<String,String> customHeaders)
OAuthClientCredentialsDancerBuilder addListener(ClientCredentialsListener listener)
listener. Listeners will be invoked in the same order as they were addedlistener - the ClientCredentialsListener to be addedIllegalArgumentException - if the listener is null@Deprecated OAuthClientCredentialsDancerBuilder encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody)
OAuthDancerBuilder.withClientCredentialsIn(ClientCredentialsLocation) instead.encodeClientCredentialsInBody - If @{code true}, the client id and client secret will be sent in the request body.
Otherwise, they will be sent as basic authentication.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.