UserRepository

User repository.

Inheritors

Functions

Link copied to clipboard
abstract fun deleteAll()
Link copied to clipboard
abstract fun deleteById(id: Username): User?
Link copied to clipboard
abstract fun findAll(): List<User>
Link copied to clipboard
abstract fun findById(id: Username): User?
Link copied to clipboard
abstract fun findByRefreshToken(refreshToken: String): User?

Find a user by refresh token.

Link copied to clipboard
abstract fun findByUsername(username: String): User?

Find a user by username.

Link copied to clipboard
abstract fun save(entity: User)
Link copied to clipboard
abstract fun update(entity: User)