lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
33 lines (32 loc) • 778 B
TypeScript
import { Entity } from '@loopback/repository';
/**
* Contains info about a password reset token.
*/
export declare class PasswordResetToken extends Entity {
/**
* The id of the reset token.
*/
id: string;
/**
* The expiration date of the password reset token.
*/
expirationDate: Date;
/**
* The actual token value.
*/
value: string;
/**
* The base user to which this token belongs.
*/
baseUserId: string;
constructor(data?: Partial<PasswordResetToken>);
}
/**
* Properties of the entity relations.
*/
export interface PasswordResetTokenRelations {
}
/**
* The entity with its relation properties.
*/
export type PasswordResetTokenWithRelations = PasswordResetToken & PasswordResetTokenRelations;