Page Contents
Home > @loopback/authentication-jwt > UserRepository > (constructor)
UserRepository.(constructor)
Constructs a new instance of the UserRepository class
Signature:
constructor(dataSource: juggler.DataSource, userCredentialsRepositoryGetter: Getter<UserCredentialsRepository>);
Parameters
| Parameter | Type | Description |
|---|---|---|
| dataSource | juggler.DataSource | |
| userCredentialsRepositoryGetter | Getter<[UserCredentialsRepository](/doc/en/lb4/apidocs.authentication-jwt.usercredentialsrepository.html)> |