Signaturex
SourceSummary
| sign(key, secret, method, path, params) | Sign a request using |
| validate!(key, secret, method, path, params, timestamp_grace \\ 600) | Validate request |
| validate(key, secret, method, path, params, timestamp_grace \\ 600) | Validate request |
Functions
Specs:
Sign a request using key, secret, HTTP method,
query string params and an optional body
Specs:
- validate(binary, binary, binary | atom, binary, Dict.t, integer) :: boolean
Validate request
Returns true or false
Specs:
- validate!(binary, binary, binary | atom, binary, Dict.t, integer) :: true
Validate request
Raises an AuthenticationError if the request is invalid