public interface ClientsRepository
Clients defined in API Platform.| Modifier and Type | Method and Description |
|---|---|
CoreServicesClient |
getBy(String id)
Retrieves
Clients defined in API Platform by an id. |
CoreServicesClient |
getBy(String id,
String secret)
Retrieves
Clients defined in API Platform by id and secret. |
CoreServicesClient getBy(String id) throws ClientsRepositoryException
Clients defined in API Platform by an id. Each implementation may choose to implement an
optimization algorithm to avoid subsequent calls or fallback mechanisms for when Platform is down.id - a String.Client or raise an error if it could not be found.ClientsRepositoryException - whenever the Client is not found or a connectivity error arises.CoreServicesClient getBy(String id, String secret) throws ClientsRepositoryException
Clients defined in API Platform by id and secret. Each implementation may choose to implement an
optimization algorithm to avoid subsequent calls or fallback mechanisms for when Platform is down.id - a String.secret - a String.Client or raise an error if it could not be found.ClientsRepositoryException - whenever the Client is not found or a connectivity error arises.Copyright © 2014–2022 MuleSoft, Inc.. All rights reserved.