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 readonly HasOneRepositoryFactory<UserCredentials, typeof User.prototype.id>  
userCredentialsRepositoryGetter protected Getter<UserCredentialsRepository>  

Methods

Method Modifiers Description
findCredentials(userId)