Skip to main content
Interface

Functions

getJWT

Returns the current JWT for use as a Bearer token in API calls, or null if not authenticated.

logout

Signs the user out and clears all stored auth state.

setJWT

Stores an externally obtained JWT for use in API calls.