@sourceloop/authentication-service / Exports / UserCredentialsRepository
Class: UserCredentialsRepository¶
Hierarchy¶
-
DefaultSoftCrudRepository
<UserCredentials
, typeofid
,UserCredentialsRelations
>↳
UserCredentialsRepository
Table of contents¶
Constructors¶
Properties¶
Constructors¶
constructor¶
• new UserCredentialsRepository(dataSource
, userRepositoryGetter
)
Parameters¶
Name | Type |
---|---|
dataSource |
DataSource |
userRepositoryGetter |
Getter <UserRepository > |
Overrides¶
DefaultSoftCrudRepository< UserCredentials, typeof UserCredentials.prototype.id, UserCredentialsRelations \>.constructor
Defined in¶
services/authentication-service/src/repositories/user-credentials.repository.ts:23
Properties¶
user¶
• Readonly
user: BelongsToAccessor
<User
<DataObject
<Model
>>, undefined
| string
>
Defined in¶
services/authentication-service/src/repositories/user-credentials.repository.ts:18
userRepositoryGetter¶
• Protected
userRepositoryGetter: Getter
<UserRepository
>
Defined in¶
services/authentication-service/src/repositories/user-credentials.repository.ts:27