class

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:

Source
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:

Source

Instance methods

call(context)
Source

Nested types