PasswordAuthHandler

Server-side handler for AuthType.Password, implementing AuthHandler.

Functions

Link copied to clipboard
context(auth: T, _: Raise<Issue>)
open fun authenticate(request: Request): Principal

Authenticates the given request and returns the Principal if successful.

Link copied to clipboard
context(auth: AuthType.Password)
open override fun authRoutes(): RoutingHttpHandler

Standard authentication routes provided by the handler.

Link copied to clipboard
Link copied to clipboard
fun hashPassword(password: String): String
Link copied to clipboard
Link copied to clipboard