@NoExtend @NoInstantiate public class ClientCredentialsGrantType extends AbstractGrantType
muleContext, oAuthService, parameterExtractors, resolver, responseAccessToken, responseExpiresIn, responseRefreshToken, tokenManager| Constructor and Description |
|---|
ClientCredentialsGrantType() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder builder) |
org.mule.runtime.oauth.api.ClientCredentialsOAuthDancer |
getDancer() |
void |
initialise() |
boolean |
isEncodeClientCredentialsInBody() |
boolean |
shouldRetry(org.mule.runtime.extension.api.runtime.operation.Result<Object,org.mule.extension.http.api.HttpResponseAttributes> firstAttemptResult) |
buildAuthorizationHeaderContent, configureBaseDancer, dispose, getClientId, getClientSecret, getCustomParameterExtractors, getRefreshTokenWhen, getResponseAccessToken, getResponseExpiresIn, getResponseRefreshToken, getScopes, getTlsContextFactory, getTokenUrl, initTokenManager, setMuleContext, start, stoppublic final void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic void authenticate(org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder builder)
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic boolean shouldRetry(org.mule.runtime.extension.api.runtime.operation.Result<Object,org.mule.extension.http.api.HttpResponseAttributes> firstAttemptResult) throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic org.mule.runtime.oauth.api.ClientCredentialsOAuthDancer getDancer()
getDancer in class AbstractGrantTypepublic boolean isEncodeClientCredentialsInBody()
isEncodeClientCredentialsInBody in class AbstractGrantTypeCopyright © 2018 MuleSoft, Inc.. All rights reserved.