@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
44 lines (30 loc) • 1.73 kB
Markdown
---
lang: en
title: 'API docs: authentication-jwt.myuserservice'
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.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)
## MyUserService class
<b>Signature:</b>
```typescript
export declare class MyUserService implements UserService<User, Credentials>
```
<b>Implements:</b> [UserService](./authentication.userservice.md)<!-- --><[User](./authentication-jwt.user.md)<!-- -->, [Credentials](./authentication-jwt.credentials.md)<!-- -->>
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(userRepository)](./authentication-jwt.myuserservice._constructor_.md) | | Constructs a new instance of the <code>MyUserService</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [userRepository](./authentication-jwt.myuserservice.userrepository.md) | | [UserRepository](./authentication-jwt.userrepository.md) | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [convertToUserProfile(user)](./authentication-jwt.myuserservice.converttouserprofile.md) | | |
| [findUserById(id)](./authentication-jwt.myuserservice.finduserbyid.md) | | |
| [verifyCredentials(credentials)](./authentication-jwt.myuserservice.verifycredentials.md) | | |