Page Contents
Home > @loopback/authentication-jwt > UserRepository
UserRepository class
Signature:
export declare class UserRepository extends DefaultCrudRepository<User, typeof User.prototype.id, UserRelations>
Extends: DefaultCrudRepository<User, typeof User.prototype.id, UserRelations>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(dataSource, userCredentialsRepositoryGetter) | Constructs a new instance of the UserRepository class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| userCredentials | HasOneRepositoryFactory<UserCredentials, typeof User.prototype.id> | ||
| userCredentialsRepositoryGetter | Getter<UserCredentialsRepository> |
Methods
| Method | Modifiers | Description |
|---|---|---|
| findCredentials(userId) |