class

JoobQ::ManagementPolicy

Inherits Reference < Object

Authentication and authorization are applied before reading a request body or invoking an operator action. Store only token digests; never log credentials.

Constructors

from_env
Source
new(tokens : Hash(String, Role), max_body : Int32 = 1048576)
Source

Instance methods

authorize(context : HTTP::Server::Context) : Bool
Source

Nested types