Skip to main content

Auth Module

import * as sethealth from '@sethealth/core';

API reference#


Returns if the access token was already provided and it's still valid.

auth.setAccessToken( token: string )

An access token needs to be provided in order to perform authenticated called to the Sethealth API such as a volume upload.

This token should be generated using in your server using the server-side clients of Sethealth, look at: - -