---
lang: en
title: 'API docs: authentication-jwt.usercredentialsrepository._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.usercredentialsrepository._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [UserCredentialsRepository](./authentication-jwt.usercredentialsrepository.md) &gt; [(constructor)](./authentication-jwt.usercredentialsrepository._constructor_.md)

## UserCredentialsRepository.(constructor)

Constructs a new instance of the `UserCredentialsRepository` class

**Signature:**

```typescript
constructor(dataSource: juggler.DataSource);
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

dataSource


</td><td markdown="1">

juggler.DataSource


</td><td markdown="1">


</td></tr>
</tbody></table>


