| Package | Description |
|---|---|
| org.mule.runtime.oauth.api.builder | |
| org.mule.runtime.oauth.internal.builder |
| Modifier and Type | Method and Description |
|---|---|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.addAdditionalRefreshTokenRequestHeaders(org.mule.runtime.api.util.MultiMap<String,String> additionalHeaders)
Adds additional request headers for refreshing the token
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.addAdditionalRefreshTokenRequestParameters(org.mule.runtime.api.util.MultiMap<String,String> additionalParameters)
Adds additional request parameters for refreshing the token
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.addListener(AuthorizationCodeListener listener)
Adds the provided
listener |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.afterDanceCallback(BiConsumer<AuthorizationCodeDanceCallbackContext,ResourceOwnerOAuthContext> callback)
Allows custom code to be run after doing the request to the provided
tokenUrl and processing its results. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.authorizationUrl(String authorizationUrl) |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.beforeDanceCallback(Function<AuthorizationCodeRequest,AuthorizationCodeDanceCallbackContext> callback)
Allows custom code to be run just before doing the request to the provided
tokenUrl. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.customHeaders(Map<String,String> customHeaders)
There are OAuth implementations that require or allow extra headers to be sent when calling the Authentication URL of the
OAS.
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.customHeaders(Supplier<Map<String,String>> customHeaders)
There are OAuth implementations that require or allow extra headers to be sent when calling the Authentication URL of the
OAS.
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.customParameters(Map<String,String> customParameters)
There are OAuth implementations that require or allow extra query parameters to be sent when calling the Authentication URL
of the OAS.
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.customParameters(Supplier<Map<String,String>> customParameters)
There are OAuth implementations that require or allow extra query parameters to be sent when calling the Authentication URL
of the OAS.
|
default OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody)
Deprecated.
since 4.2.0. Use
OAuthDancerBuilder.withClientCredentialsIn(ClientCredentialsLocation)
instead. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.externalCallbackUrl(String externalCallbackUrl)
The oauth authentication server will use this url to provide the authentication code to the Mule server so the mule server
can retrieve the access token.
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.includeRedirectUriInRefreshTokenRequest(boolean includeRedirectUriInRefreshTokenRequest)
Allows to toggle the inclusion of a redirect_uri parameter on the refresh token request.
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.localAuthorizationUrlPath(String path)
If this attribute is provided mule will automatically create and endpoint in the host server (the same configured for
localCallback(java.net.URL)) that the user can hit to authenticate and grant access to the application for his account. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.localAuthorizationUrlResourceOwnerId(String localAuthorizationUrlResourceOwnerIdExpr)
This attribute is only required when the applications needs to access resources from more than one user in the OAuth
authentication server.
|
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.localCallback(org.mule.runtime.http.api.server.HttpServer server,
String localCallbackConfigPath)
The produced
AuthorizationCodeOAuthDancer will use an existing HttpServer to listen on the provided
localCallbackConfigPath. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.localCallback(URL localCallbackUrl)
The produced
AuthorizationCodeOAuthDancer will create an HttpServer to listen on the provided
localCallbackUrl. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.localCallback(URL localCallbackUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
The produced
AuthorizationCodeOAuthDancer will create an HttpServer with the provided
tlsContextFactory to listen on the provided localCallbackUrl. |
OAuthAuthorizationCodeDancerBuilder |
OAuthAuthorizationCodeDancerBuilder.state(String stateExpr)
Mule will add some internal stuff to the state that is sent to the Authorization server.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultOAuthAuthorizationCodeDancerBuilder
Builder that allows to configure the attributes for the authorization-code grant type.
|
| Modifier and Type | Method and Description |
|---|---|
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.addAdditionalRefreshTokenRequestHeaders(org.mule.runtime.api.util.MultiMap<String,String> additionalHeaders) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.addAdditionalRefreshTokenRequestParameters(org.mule.runtime.api.util.MultiMap<String,String> additionalParameters) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.addListener(AuthorizationCodeListener listener) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.afterDanceCallback(BiConsumer<AuthorizationCodeDanceCallbackContext,ResourceOwnerOAuthContext> afterDanceCallback) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.authorizationUrl(String authorizationUrl) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.beforeDanceCallback(Function<AuthorizationCodeRequest,AuthorizationCodeDanceCallbackContext> beforeDanceCallback) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.customHeaders(Map<String,String> customHeaders) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.customHeaders(Supplier<Map<String,String>> customHeaders) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.customParameters(Map<String,String> customParameters) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.customParameters(Supplier<Map<String,String>> customParameters) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.externalCallbackUrl(String externalCallbackUrl) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.includeRedirectUriInRefreshTokenRequest(boolean includeRedirectUriInRefreshTokenRequest) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.localAuthorizationUrlPath(String path) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.localAuthorizationUrlResourceOwnerId(String localAuthorizationUrlResourceOwnerIdExpr) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.localCallback(org.mule.runtime.http.api.server.HttpServer server,
String localCallbackConfigPath) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.localCallback(URL localCallbackUrl) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.localCallback(URL localCallbackUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) |
OAuthAuthorizationCodeDancerBuilder |
DefaultOAuthAuthorizationCodeDancerBuilder.state(String stateExpr) |
Copyright © 2022. All rights reserved.