property JwtResolverOptions.decode

Custom JWT-decode function. When absent the plugin resolves IJwtService.decode from the capability token in register().

Type

(token: string) => Record<string, unknown> | null

Usage

import { type JwtResolverOptions } from "multi-tenancy-plugin/src/index.ts";