ServiceRouteAuthorizer

Decides whether a caller may call a service route, after authentication and before its request is decoded. The rule is the CommandAuthorizer's: a node's authorizers are all asked (allOf), the first Authorization.Denied is the answer, and there is no abstaining. With none registered, every authenticated caller may call the context's routes.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun authorize(caller: Caller, action: RouteAction): Authorization