Authly::Handler
Inherits HTTP::Handler < Reference < Object
Class methods
header_token!(value : String, what : String) : String
Header-safe: no quotes, backslashes, whitespace or control characters could split a challenge. :nodoc:
preflight?(request : HTTP::Request) : Bool
A CORS preflight is told apart by its headers only: anyone can send them, so what a handler lets
through on this ground is public. The next handler must answer OPTIONS without side effects.
:nodoc:
Instance methods
call(context)
Source