UNPKG

lbx-jwt

Version:

Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.

15 lines (14 loc) 284 B
import { Model } from '@loopback/repository'; /** * The Credentials used in the login. */ export declare class LoginCredentials extends Model { /** * The email of the user. */ email: string; /** * The password of the user. */ password: string; }