Class UpdateClientUseCase
java.lang.Object
com.irurueta.authserver.authorization.application.clients.UpdateClientUseCase
Use case that replaces the settings of a registered client; its secret is kept.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientRegistrationRepositoryPort that stores the clients. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ClientRegistration registration) Updates a client.
-
Field Details
-
clientRegistrationRepository
Port that stores the clients.
-
-
Constructor Details
-
UpdateClientUseCase
public UpdateClientUseCase()
-
-
Method Details
-
execute
Updates a client.- Parameters:
registration- the new settings, identified by their client id.- Throws:
ClientNotFoundException- if the client is not registered.ImplicitClientRefusedException- if the client has the implicit grant type.
-