lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
16 lines (15 loc) • 357 B
text/typescript
import { Model, model, property } from '@loopback/repository';
/**
* The type of the request used for validating a reset password token.
*/
@model()
export class ResetPasswordTokenGrant extends Model {
/**
* The value of the reset password token.
*/
@property({
type: 'string',
required: true
})
value: string;
}