| Package | Description |
|---|---|
| com.mulesoft.modules.oauth2.provider.internal |
| Modifier and Type | Method and Description |
|---|---|
void |
OAuth2ProviderOperations.createClient(OAuth2ProviderConfiguration oAuth2ProviderConfiguration,
String clientId,
ClientType clientType,
String clientSecret,
String clientName,
String description,
String principal,
Set<String> redirectUris,
Set<Constants.RequestGrantType> authorizedGrantTypes,
Set<String> scopes,
boolean failIfPresent)
Creates a new client and saves it in the configured client store.
|
void |
OAuth2ProviderOperations.deleteClient(OAuth2ProviderConfiguration oAuth2ProviderConfiguration,
String clientId,
String clientSecret)
Deletes a client from the store.
|
void |
OAuth2ProviderOperations.revokeToken(OAuth2ProviderConfiguration oAuth2ProviderConfiguration,
String token)
Revokes an access token or refresh token, invalidating the related refresh token or access token as well.
|
org.mule.runtime.extension.api.runtime.operation.Result<String,Void> |
OAuth2ProviderOperations.validateToken(OAuth2ProviderConfiguration oAuth2ProviderConfiguration,
org.mule.runtime.extension.api.security.AuthenticationHandler authenticationHandler,
String accessTokenToValidate,
Set<String> scopesToValidate,
Set<String> resourceOwnerRoles)
Checks that a valid access token is provided.
|
Copyright © 2024 MuleSoft, Inc.. All rights reserved.