Namespaces
ovok.accounts
List the accounts the signed-in user can access.
- Stable unknown
- Release candidate since 0.4.49-rc.4
- Development since 0.4.49-dev.517+4645a0a
One read call for an account switcher. It needs a signed-in user.
List the user's accounts
const accounts = await ovok.accounts.list();
for (const { name, email } of accounts) {
console.log(name, email);
}- Each entry carries an
emailand aname. Nothing more. - Calls
GET accountsand returns a plain array, not aPagePromise. - This lists accounts on the server. Accounts saved on the device for quick sign-in are a different feature; see ovok.session.
Reference
- accounts API reference: every method and type.
- ovok.session: saved accounts and switching.
- ovok.auth: sign-in.
- Errors and retries
Last updated on