OAuthHandler

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

Properties

Link copied to clipboard
val serverClient: DualSyncAsyncHttpHandler

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.OAuth)
open override fun authRoutes(): RoutingHttpHandler

Standard authentication routes provided by the handler.