Page Contents
Home > @loopback/mock-oauth2-provider > UserRepository > (constructor)
UserRepository.(constructor)
Constructs a new instance of the UserRepository class
Signature:
constructor(list: Record<string, MyUser>);
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | Record<string, [MyUser](/doc/en/lb4/apidocs.mock-oauth2-provider.myuser.html)> |