Skip to main content

Interface: JWTUser

Defined in: core/src/JWTUtils.ts:13

Describes user data that is encoded in the payload of a JWT token.

Properties

roles

roles: string[]

Defined in: core/src/JWTUtils.ts:22

The list of roles (by name) that the user is a member of and will inherit the permissions of.


scopes

scopes: string[]

Defined in: core/src/JWTUtils.ts:27

The list of auth scopes that the user has been granted permission for.


uid

uid: string

Defined in: core/src/JWTUtils.ts:17

The universally unique identifier of the user.


verified?

optional verified?: boolean

Defined in: core/src/JWTUtils.ts:32

Indicates if the user's e-mail address has been verified.