@roar-firebase-functions/core / UserClaim
Interface: UserClaim
Defined in: packages/core/src/models/userClaim.model.ts:36
An interface representing a user's claims. This interface is used to define the structure of a user's claims object. UserClaim
See
Extends
Properties
adminOrgs?
optional
adminOrgs:OrgsList
Defined in: packages/core/src/models/userClaim.model.ts:18
The organizations the user is an admin of.
Inherited from
adminUid
adminUid:
string
Defined in: packages/core/src/models/userClaim.model.ts:20
The user ID of the admin.
Inherited from
assessmentUid
assessmentUid:
string
Defined in: packages/core/src/models/userClaim.model.ts:21
The user ID of the assessment.
Inherited from
claims
claims:
Claims
Defined in: packages/core/src/models/userClaim.model.ts:37
The user's claims.
lastUpdated
lastUpdated:
number
Defined in: packages/core/src/models/userClaim.model.ts:38
The timestamp of the last update.
minimalAdminOrgs?
optional
minimalAdminOrgs:OrgsList
Defined in: packages/core/src/models/userClaim.model.ts:19
Inherited from
roarUid
roarUid:
string
Defined in: packages/core/src/models/userClaim.model.ts:22
The user ID of the ROAR.
Inherited from
role
role:
string
Defined in: packages/core/src/models/userClaim.model.ts:24
The role of the user.
Inherited from
super_admin?
optional
super_admin:boolean
Defined in: packages/core/src/models/userClaim.model.ts:23
A boolean indicating whether the user is a super admin.
Inherited from
testData
testData:
boolean
Defined in: packages/core/src/models/userClaim.model.ts:39
A boolean indicating whether the user contains test data.