Module: auth

Handling authentication needs of the API.
Source:

Methods

(inner) sign(key, secret, uri, body) → {URIjs}

Sign a URI instance. This is simply a wrapper around module:auth~addSignature that allows a timestamp to be added to the URI instance.
Parameters:
Name Type Description
key String key used to sign
secret String used to sign the request
uri URIjs an instance of URIjs
body * body to used in request
Source:
Throws:
errors.AuthenticationRequiredError
Returns:
same instance of URIjs
Type
URIjs