@acceleratxr/core_sdk / JWTUser
Interface: JWTUser#
Describes the User object that is encoded in the payload of a JWT token.
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
JWTUser
Index#
Properties#
Properties#
name#
• name: string
Defined in src/utils/JWTUtils.ts:40
The unique name of the user.
orgs#
• Optional orgs: string[]
Defined in src/utils/JWTUtils.ts:45
The list of organizations (by uid) that the user is a member of.
personas#
• Optional personas: JWTPersona[]
Defined in src/utils/JWTUtils.ts:60
The list of Persona objects associated with the user.
roles#
• Optional roles: string[]
Defined in src/utils/JWTUtils.ts:50
The list of roles (by name) that the user is apart of and will assume privileges for.
uid#
• uid: string
Defined in src/utils/JWTUtils.ts:35
The universally unique identifier of the user.
verified#
• Optional verified: undefined | false | true
Defined in src/utils/JWTUtils.ts:55
Indicates if the user’s e-mail address has been verified.