User
After instantiating the SDK (which is explained here), you're allowed to use the following methods from user
.
info
Parameters
void
Returns
Promise<User | undefined>
Example
const user = await sdk.user.info;
logout()
Parameters
void
Returns
void
Example
const user = sdk.user.logout();