UNPKG

@loopback/docs

Version:
32 lines (21 loc) 1.1 kB
--- lang: en title: 'API docs: authentication-jwt.userrepository._constructor_' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/authentication-jwt permalink: /doc/en/lb4/apidocs.authentication-jwt.userrepository._constructor_.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [UserRepository](./authentication-jwt.userrepository.md) &gt; [(constructor)](./authentication-jwt.userrepository._constructor_.md) ## UserRepository.(constructor) Constructs a new instance of the `UserRepository` class <b>Signature:</b> ```typescript constructor(dataSource: juggler.DataSource, userCredentialsRepositoryGetter: Getter<UserCredentialsRepository>); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | dataSource | <code>juggler.DataSource</code> | | | userCredentialsRepositoryGetter | <code>Getter&lt;UserCredentialsRepository&gt;</code> | |