---
lang: en
title: 'API docs: mock-oauth2-provider'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/fixtures/mock-oauth2-provider
permalink: /doc/en/lb4/apidocs.mock-oauth2-provider.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/mock-oauth2-provider](./mock-oauth2-provider.md)

## mock-oauth2-provider package

[@loopback/mock-oauth2-provider](https://github.com/loopbackio/loopback-next/tree/master/fixtures/mock-oauth2-provider)

## Classes

|  Class | Description |
|  --- | --- |
|  [UserRepository](./mock-oauth2-provider.userrepository.md) | Repository to store and access user objects |

## Interfaces

|  Interface | Description |
|  --- | --- |
|  [MyUser](./mock-oauth2-provider.myuser.md) | A simple User model |

## Namespaces

|  Namespace | Description |
|  --- | --- |
|  [MockTestOauth2SocialApp](./mock-oauth2-provider.mocktestoauth2socialapp.md) |  |

## Variables

|  Variable | Description |
|  --- | --- |
|  [userRepository](./mock-oauth2-provider.userrepository.md) | Sample data to mock existing registered users new users can be registered with the repository functions |


