UpdateClientVerificationStatusUseCase

Updates the verification status of a client.

Return

UpdateClientVerificationStatusUseCase.Result.Success if the client was updated successfully. UpdateClientVerificationStatusUseCase.Result.Failure if the client could not be updated.

Parameters

userId

The user id of the client.

clientId

The client id of the client.

verified

The new verification status of the client.

Constructors

Link copied to clipboard
internal constructor(clientRepository: ClientRepository)

Types

Link copied to clipboard
interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(userId: <Error class: unknown class>, clientId: <Error class: unknown class>, verified: Boolean): UpdateClientVerificationStatusUseCase.Result