| Package | Description |
|---|---|
| org.mule.runtime.oauth.api.builder | |
| org.mule.runtime.oauth.internal.builder |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OAuthAuthorizationCodeDancerBuilder
Builder that allows to configure the attributes for the authorization code grant type.
|
interface |
OAuthClientCredentialsDancerBuilder
Builder that allows to configure the attributes for the client credentials grant type.
|
| Modifier and Type | Method and Description |
|---|---|
OAuthDancerBuilder<D> |
OAuthDancerBuilder.clientCredentials(String clientId,
String clientSecret) |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.customParametersExtractorsExprs(Map<String,String> customParamsExtractorsExprs) |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.encoding(Charset encoding) |
default OAuthDancerBuilder<D> |
OAuthDancerBuilder.name(String name) |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.resourceOwnerIdTransformer(Function<String,String> resourceOwnerIdTransformer)
Allows to partition a
tokensStore and reuse it among different dancers, as long as each dancer has its own proper
resourceOwnerIdStoreTransformer and ensures there can be no collissions between the transformed
resourceOwnerIds for different dancers. |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.responseAccessTokenExpr(String responseAccessTokenExpr) |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.responseExpiresInExpr(String responseExpiresInExpr) |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.responseRefreshTokenExpr(String responseRefreshTokenExpr) |
OAuthDancerBuilder<D> |
OAuthDancerBuilder.scopes(String scopes)
Scopes define permissions over resources.
|
OAuthDancerBuilder<D> |
OAuthDancerBuilder.tokenUrl(org.mule.runtime.http.api.client.HttpClient httpClient,
String tokenUrl)
Mule, after receiving the authentication code from the OAuth server (through the redirectUrl) will call this url to get the
access token.
|
OAuthDancerBuilder<D> |
OAuthDancerBuilder.tokenUrl(String tokenUrl)
Mule, after receiving the authentication code from the OAuth server (through the redirectUrl) will call this url to get the
access token.
|
default OAuthDancerBuilder<D> |
OAuthDancerBuilder.tokenUrl(String tokenUrl,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig)
Mule, after receiving the authentication code from the OAuth server (through the redirectUrl) will call this url to get the
access token.
|
OAuthDancerBuilder<D> |
OAuthDancerBuilder.tokenUrl(String tokenUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
Mule, after receiving the authentication code from the OAuth server (through the redirectUrl) will call this url to get the
access token.
|
default OAuthDancerBuilder<D> |
OAuthDancerBuilder.tokenUrl(String tokenUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig)
Mule, after receiving the authentication code from the OAuth server (through the redirectUrl) will call this url to get the
access token.
|
default OAuthDancerBuilder<D> |
OAuthDancerBuilder.withClientCredentialsIn(ClientCredentialsLocation clientCredentialsLocation)
Define where the client credentials will be sent in the HTTP requests for the OAuth2 Dance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOAuthDancerBuilder<D>
Base OAuth dancer builder implementations with behavior common to all grant-types.
|
class |
DefaultOAuthAuthorizationCodeDancerBuilder
Builder that allows to configure the attributes for the authorization-code grant type.
|
class |
DefaultOAuthClientCredentialsDancerBuilder
Builder that allows to configure the attributes for the client credentials grant type.
|
| Modifier and Type | Method and Description |
|---|---|
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.clientCredentials(String clientId,
String clientSecret) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.customParametersExtractorsExprs(Map<String,String> customParamsExtractorsExprs) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody)
Deprecated.
|
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.encoding(Charset encoding) |
OAuthDancerBuilder<D> |
AbstractOAuthDancerBuilder.name(String name) |
OAuthDancerBuilder<D> |
AbstractOAuthDancerBuilder.resourceOwnerIdTransformer(Function<String,String> resourceOwnerIdTransformer) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.responseAccessTokenExpr(String responseAccessTokenExpr) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.responseExpiresInExpr(String responseExpiresInExpr) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.responseRefreshTokenExpr(String responseRefreshTokenExpr) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.scopes(String scopes) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.tokenUrl(org.mule.runtime.http.api.client.HttpClient httpClient,
String tokenUrl) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.tokenUrl(String tokenUrl) |
OAuthDancerBuilder<D> |
AbstractOAuthDancerBuilder.tokenUrl(String tokenUrl,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.tokenUrl(String tokenUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) |
OAuthDancerBuilder<D> |
AbstractOAuthDancerBuilder.tokenUrl(String tokenUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig) |
OAuthDancerBuilder |
AbstractOAuthDancerBuilder.withClientCredentialsIn(ClientCredentialsLocation clientCredentialsLocation) |
Copyright © 2022. All rights reserved.