Class DeleteClientUseCase
java.lang.Object
com.irurueta.authserver.authorization.application.clients.DeleteClientUseCase
Use case that deletes a registered client.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientRegistrationRepositoryPort that stores the clients. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
clientRegistrationRepository
Port that stores the clients.
-
-
Constructor Details
-
DeleteClientUseCase
public DeleteClientUseCase()
-
-
Method Details
-
execute
Deletes a client.- Parameters:
clientId- public identifier of the client.- Throws:
ClientNotFoundException- if the client is not registered.
-