Package eu.yeger.koffee.authentication

Types

JWTConfiguration
Link copied to clipboard
The configuration used by the authentication module.
object JWTConfiguration

Functions

authenticationModule
Link copied to clipboard
Installs and configures the JWT Authentication module using JWTConfiguration.
fun Application.authenticationModule()
matches
Link copied to clipboard
Checks if Credentials match a User.
infix fun Credentials.matches(user: User): Boolean
withHashedPassword
Link copied to clipboard
Hashes the password of a User if it is not null.
fun User.withHashedPassword(): User