Skip to main content

Interface: EmbedAuthUser

Describes the public profile of a signed-in embed user. Use it for an account label. Optional fields are absent when the session does not provide them.

Example​

const user = window.mimeeqApp.observers.auth.user.getValue();
if (user) console.log(user.name || user.email || user.id);

Properties​

companyId?​

optional companyId?: string


customerId?​

optional customerId?: string


email?​

optional email?: string


id​

id: string


name?​

optional name?: string


type?​

optional type?: string