Page Contents

Home > @loopback/authentication-jwt > Credentials

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

Signature:

export type Credentials = {
    email: string;
    password: string;
};