Skip to main content
Interface

Functions

FunctionDescription
getJWTReturns the current JWT for use as a Bearer token in API calls, or null if not authenticated.
logoutSigns the user out and clears all stored auth state.
setJWTStores an externally obtained JWT for use in API calls.

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.