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
Validate request
Validate request
Link to this section Functions
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