@sourceloop/core / Exports / IAuthUserWithPermissions
Interface: IAuthUserWithPermissions<ID, TID, UTID>¶
Type parameters¶
Name | Type |
---|---|
ID |
string |
TID |
string |
UTID |
string |
Hierarchy¶
-
IAuthUser
↳
IAuthUserWithPermissions
↳↳
UserInToken
Table of contents¶
Properties¶
- allowedResources
- authClientId
- firstName
- id
- identifier
- lastName
- middleName
- passwordExpiryTime
- permissions
- role
- tenantId
- userPreferences
- userTenantId
Methods¶
Properties¶
allowedResources¶
• Optional
allowedResources: string
[]
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:45
authClientId¶
• authClientId: number
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:35
email¶
• Optional
email: string
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:37
firstName¶
• firstName: string
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:39
id¶
• Optional
id: string
Overrides¶
IAuthUser.id
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:32
identifier¶
• Optional
identifier: ID
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:33
lastName¶
• lastName: string
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:40
middleName¶
• Optional
middleName: string
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:41
passwordExpiryTime¶
• Optional
passwordExpiryTime: Date
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:44
permissions¶
• permissions: string
[]
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:34
role¶
• role: string
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:38
tenantId¶
• Optional
tenantId: TID
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:42
userPreferences¶
• Optional
userPreferences: IUserPrefs
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:36
userTenantId¶
• Optional
userTenantId: UTID
Defined in¶
packages/core/src/components/bearer-verifier/keys.ts:43
Methods¶
getIdentifier¶
▸ Optional
getIdentifier(): undefined
| string
Returns¶
undefined
| string