@loopback/docs
Version:
Documentation for LoopBack 4
42 lines (28 loc) • 1.4 kB
Markdown
lang: en
title: 'API docs: authentication-jwt.myuserservice'
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.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>
```
## 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) | | <code>UserRepository</code> | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [convertToUserProfile(user)](./authentication-jwt.myuserservice.converttouserprofile.md) | | |
| [verifyCredentials(credentials)](./authentication-jwt.myuserservice.verifycredentials.md) | | |