@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
31 lines (20 loc) • 992 B
Markdown
lang: en
title: 'API docs: authentication-jwt.myuserservice._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/authentication-jwt
permalink: /doc/en/lb4/apidocs.authentication-jwt.myuserservice._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication-jwt](./authentication-jwt.md) > [MyUserService](./authentication-jwt.myuserservice.md) > [(constructor)](./authentication-jwt.myuserservice._constructor_.md)
## MyUserService.(constructor)
Constructs a new instance of the `MyUserService` class
<b>Signature:</b>
```typescript
constructor(userRepository: UserRepository);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| userRepository | [UserRepository](./authentication-jwt.userrepository.md) | |