AuthHandler

interface AuthHandler<T : AuthType>

Interface for server-side authentication handlers.

Inheritors

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: T)
abstract fun authRoutes(): RoutingHttpHandler

Standard authentication routes provided by the handler.