@sourceloop/authentication-service / Exports / User
Class: User<T>¶
Type parameters¶
Name | Type |
---|---|
T |
DataObject <Model > |
Hierarchy¶
Implements¶
IAuthUser
Table of contents¶
Constructors¶
Properties¶
- authClientIds
- createdBy
- createdOn
- credentials
- defaultTenantId
- designation
- dob
- firstName
- gender
- id
- lastLogin
- lastName
- middleName
- modifiedBy
- modifiedOn
- phone
- photoUrl
- userTenants
- username
Constructors¶
constructor¶
• new User<T
>(data?
)
Type parameters¶
Name | Type |
---|---|
T |
DataObject <Model > |
Parameters¶
Name | Type |
---|---|
data? |
Partial <T & User <DataObject <Model >>> |
Inherited from¶
UserModifiableEntity<T & User>.constructor
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:6
Properties¶
authClientIds¶
• Optional
authClientIds: string
Defined in¶
services/authentication-service/src/models/user.model.ts:80
createdBy¶
• Optional
createdBy: string
Inherited from¶
UserModifiableEntity.createdBy
Defined in¶
packages/core/dist/models/user-modifiable-entity.model.d.ts:4
createdOn¶
• Optional
createdOn: Date
Inherited from¶
UserModifiableEntity.createdOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:4
credentials¶
• credentials: UserCredentials
Defined in¶
services/authentication-service/src/models/user.model.ts:118
defaultTenantId¶
• defaultTenantId: string
Defined in¶
services/authentication-service/src/models/user.model.ts:128
designation¶
• Optional
designation: string
Defined in¶
services/authentication-service/src/models/user.model.ts:100
dob¶
• dob: Date
Defined in¶
services/authentication-service/src/models/user.model.ts:105
email¶
• Optional
email: string
Defined in¶
services/authentication-service/src/models/user.model.ts:66
firstName¶
• firstName: string
Defined in¶
services/authentication-service/src/models/user.model.ts:43
gender¶
• Optional
gender: Gender
Defined in¶
services/authentication-service/src/models/user.model.ts:115
id¶
• Optional
id: string
Implementation of¶
IAuthUser.id
Defined in¶
services/authentication-service/src/models/user.model.ts:36
lastLogin¶
• Optional
lastLogin: Date
Defined in¶
services/authentication-service/src/models/user.model.ts:89
lastName¶
• lastName: string
Defined in¶
services/authentication-service/src/models/user.model.ts:49
middleName¶
• Optional
middleName: string
Defined in¶
services/authentication-service/src/models/user.model.ts:55
modifiedBy¶
• Optional
modifiedBy: string
Inherited from¶
UserModifiableEntity.modifiedBy
Defined in¶
packages/core/dist/models/user-modifiable-entity.model.d.ts:5
modifiedOn¶
• Optional
modifiedOn: Date
Inherited from¶
UserModifiableEntity.modifiedOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:5
phone¶
• Optional
phone: string
Defined in¶
services/authentication-service/src/models/user.model.ts:74
photoUrl¶
• Optional
photoUrl: string
Defined in¶
services/authentication-service/src/models/user.model.ts:95
userTenants¶
• userTenants: UserTenant
[]
Defined in¶
services/authentication-service/src/models/user.model.ts:131
username¶
• username: string
Implementation of¶
IAuthUser.username