Parameters to use while performing the request
Promise
Cancels any pending renewal. Deliberately not a permanent kill switch: a client that keeps being used reschedules, so React StrictMode's mount/cleanup/mount does not disable renewals for good.
Performs an HTTP GET request given a parameters hash
Parameters to use while performing the request
Promise
Returns the configuration of the api
Gets the current domain
Returns a usable JWT, authenticating or renewing the session as needed.
Returns the JWT held by the current session, without authenticating.
Performs an HTTP PATCH request given a parameters hash
Parameters to use while performing the request
Promise
Performs an HTTP POST request given a parameters hash
Parameters to use while performing the request
Promise
Performs an HTTP POST request given a parameters hash
Parameters to use while performing the request
Promise
Renew the JWT using the auth property
Promise
Performs an HTTP DELETE request given a parameters hash