lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
25 lines (22 loc) • 589 B
text/typescript
//TODO: Remove
/* eslint-disable jsdoc/require-jsdoc */
import { model, property } from '@loopback/repository';
import { AuthenticationExtensionsClientInputs } from '@simplewebauthn/types';
()
export class AuthenticationExtensionsInputs implements AuthenticationExtensionsClientInputs {
({
type: 'string',
required: false
})
appid?: string;
({
type: 'boolean',
required: false
})
credProps?: boolean;
({
type: 'boolean',
required: false
})
hmacCreateSecret?: boolean;
}