Function: getCurrentUser()
ts
function getCurrentUser(client): Promise<Record<string, unknown>>;Fetches the logged-in account's own profile. Requires a logged-in session. It is the simplest way to confirm the captured authorization is accepted.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
Returns
Promise<Record<string, unknown>>