UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

32 lines (21 loc) 1.2 kB
--- lang: en title: 'API docs: authentication-jwt.userrepository._constructor_' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI 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 | juggler.DataSource | | | userCredentialsRepositoryGetter | [Getter](./context.getter.md)<!-- -->&lt;[UserCredentialsRepository](./authentication-jwt.usercredentialsrepository.md)<!-- -->&gt; | |