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

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

[Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [Credentials](./authentication-jwt.credentials.md)

## Credentials type

A pre-defined type for user credentials. It assumes a user logs in using the email and password. You can modify it if your app has different credential fields

<b>Signature:</b>

```typescript
export declare type Credentials = {
    email: string;
    password: string;
};
```

