Signaturex v1.2.0 Signaturex View Source

Link to this section Summary

Functions

Sign a request using key, secret, HTTP method, query string params and an optional body

Link to this section Functions

Link to this function sign(key, secret, method, path, params) View Source
sign(binary, binary, binary | atom, binary, Dict.t) :: Dict.t

Sign a request using key, secret, HTTP method, query string params and an optional body

Link to this function validate(key, secret, method, path, params, timestamp_grace \\ 600) View Source
validate(binary, binary, binary | atom, binary, Dict.t, integer) :: boolean

Validate request

Returns true or false

Link to this function validate!(key, secret, method, path, params, timestamp_grace \\ 600) View Source
validate!(binary, binary, binary | atom, binary, Dict.t, integer) :: true

Validate request

Raises an AuthenticationError if the request is invalid