Skip to main content

Module middleware

Module middleware 

Source
Expand description

Auth middleware helpers.

Provides the AuthResult type and check_permission function used by the gRPC and HTTP layers to decide whether an incoming request is allowed.

Enums§

AuthResult
Outcome of auth validation for an incoming request.
AuthSource
How the caller’s identity was established.

Functions§

check_permission
Check whether the given AuthResult has sufficient privileges.