public interface ClientRegistration
| Modifier and Type | Method and Description |
|---|---|
void |
addClient(Client client,
boolean failIfPresent)
Add a new client.
|
void |
removeClient(String clientId)
Removes a registered client.
|
default void |
removeClient(String clientId,
String clientSecret)
Removes a registered client.
|
void addClient(Client client, boolean failIfPresent) throws ClientAlreadyExistsException
client - failIfPresent - ClientAlreadyExistsException - if failIfPresent is set to true and a client with the same clientId
is in the storevoid removeClient(String clientId) throws NoSuchClientException
clientId - The client Id.NoSuchClientException - If client does not exist a NoSuchClientException
is thrown.default void removeClient(String clientId, String clientSecret) throws NoSuchClientException
clientId - The client Id.clientSecret - The client secret.NoSuchClientException - If client does not exist a NoSuchClientException
is thrown.Copyright © 2025 MuleSoft, Inc.. All rights reserved.