UNPKG

@loopback/docs

Version:
42 lines (28 loc) 1.6 kB
--- lang: en title: 'API docs: authentication-jwt.userrepository' 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.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) ## UserRepository class <b>Signature:</b> ```typescript export declare class UserRepository extends DefaultCrudRepository<User, typeof User.prototype.id, UserRelations> ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(dataSource, userCredentialsRepositoryGetter)](./authentication-jwt.userrepository._constructor_.md) | | Constructs a new instance of the <code>UserRepository</code> class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [userCredentials](./authentication-jwt.userrepository.usercredentials.md) | | <code>HasOneRepositoryFactory&lt;UserCredentials, typeof User.prototype.id&gt;</code> | | | [userCredentialsRepositoryGetter](./authentication-jwt.userrepository.usercredentialsrepositorygetter.md) | | <code>Getter&lt;UserCredentialsRepository&gt;</code> | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [findCredentials(userId)](./authentication-jwt.userrepository.findcredentials.md) | | |