Top Level Namespace
Defined in:
Method Summary
-
hmac_auth(hmac_secrets : Hash(String, Array(String)) = {} of String => Array(String), hmac_client_header : String | Nil = nil, hmac_timestamp_header : String | Nil = nil, hmac_token_header : String | Nil = nil, timestamp_second_window : Int32 | Nil = nil, rejected_code : Int32 | Nil = nil, rejected_message_prefix : String | Nil = nil, hmac_key_suffix_list : Array(String) | Nil = nil, hmac_key_delimiter : String | Nil = nil, hmac_algorithm : String | Nil = nil, enable_env_lookup : Bool = false)
Helper method to easily add HMAC auth support to a kemal app See the README for more details or the source file: src/kemal-hmac/handler.cr
Method Detail
def hmac_auth(hmac_secrets : Hash(String, Array(String)) = {} of String => Array(String), hmac_client_header : String | Nil = nil, hmac_timestamp_header : String | Nil = nil, hmac_token_header : String | Nil = nil, timestamp_second_window : Int32 | Nil = nil, rejected_code : Int32 | Nil = nil, rejected_message_prefix : String | Nil = nil, hmac_key_suffix_list : Array(String) | Nil = nil, hmac_key_delimiter : String | Nil = nil, hmac_algorithm : String | Nil = nil, enable_env_lookup : Bool = false)
#
Helper method to easily add HMAC auth support to a kemal app See the README for more details or the source file: src/kemal-hmac/handler.cr