@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)
There are OAuth implementations that require or allow extra headers to be sent when calling the token URL of the OAS.
|
OAuthClientCredentialsDancerBuilder |
customParameters(Map<String,String> customParameters)
There are OAuth implementations that require or allow extra query parameters to be sent when calling the token URL of the
OAS.
|
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)
customParameters - a Map the extra parameters to be sent with the token request to OAuthDancerBuilder.tokenUrl(String).OAuthClientCredentialsDancerBuilder customHeaders(Map<String,String> customHeaders)
customHeaders - a Map the extra headers to be sent with the token request to OAuthDancerBuilder.tokenUrl(String).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 © 2024. All rights reserved.