Skip to main content

Module auth_middleware

Module auth_middleware 

Source
Expand description

HTTP token authentication middleware.

Wraps an existing Handler to enforce HMAC token verification before delegating to the inner handler.

Functionsยง

with_token_auth
Wrap a handler with HMAC token authentication.
with_token_auth_bypass
Wrap a handler with token auth, but bypass authentication for specific paths.