@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
27 lines (19 loc) • 850 B
Markdown
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/strongloop/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) > [@loopback/authentication-jwt](./authentication-jwt.md) > [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;
};
```