Interface IUser

Respresents a user that is attempting to do an action on a protected resource. Passed as part of the input to the permit.check() function.

Hierarchy

  • IUser

Properties

attributes?: Dict

Custom attributes associated with the user, which can be used in ABAC (Attribute-Based Access Control).

email?: string

The email address of the user (optional).

firstName?: string

The first name of the user (optional).

key: string

The user key, which is the customer-side ID of the user.

lastName?: string

The last name of the user (optional).

Generated using TypeDoc