@Alias(value="oauth-client-credentials")
@ClientCredentials(tokenUrl="http://localhost:${freePortFound}/access-token",
defaultScopes="READ")
public class CookBookOauthClientCredentialsConnectionProvider
extends com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseClientCredentialsConnectionProvider<com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection<org.mule.runtime.extension.api.connectivity.oauth.OAuthState>>
oauthState| Constructor and Description |
|---|
CookBookOauthClientCredentialsConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUri() |
org.mule.runtime.api.connection.ConnectionValidationResult |
validate(com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection<org.mule.runtime.extension.api.connectivity.oauth.OAuthState> restConnection) |
createConnection, getOAuthStatepublic CookBookOauthClientCredentialsConnectionProvider()
public String getBaseUri()
getBaseUri in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider<com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection<org.mule.runtime.extension.api.connectivity.oauth.OAuthState>>public org.mule.runtime.api.connection.ConnectionValidationResult validate(com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection<org.mule.runtime.extension.api.connectivity.oauth.OAuthState> restConnection)
Copyright © 2023 MuleSoft, Inc.. All rights reserved.