MemoryUserCredentialsRepositoryImpl

@Singleton
@Requires(env = ["dev"])
class MemoryUserCredentialsRepositoryImpl(val repository: InMemoryRepository<UserId, UserCredentials> = InMemoryRepository()) : MemoryUserCredentialsRepository

Constructors

Link copied to clipboard
constructor(repository: InMemoryRepository<UserId, UserCredentials> = InMemoryRepository())

Properties

Link copied to clipboard

The in-memory repository instance used for storing and managing UserCredentials entities.

Functions

Link copied to clipboard
open override fun delete(entity: UserCredentials)

Deletes a UserCredentials entity from the repository.

Link copied to clipboard
open override fun findById(id: UserId): UserCredentials?

Finds a UserCredentials entity by its unique identifier.

Link copied to clipboard
open override fun save(entity: UserCredentials)

Saves a new UserCredentials entity to the repository.

Link copied to clipboard
open override fun update(entity: UserCredentials)

Updates an existing UserCredentials entity in the repository.