UNPKG

moleculer-iam

Version:

Centralized IAM module for moleculer. Including a certified OIDC provider and an Identity provider for user profile, credentials, and custom claims management. Custom claims could be defined/updated by declarative schema which contains claims validation a

11 lines (10 loc) 350 B
import { ValidationError as ValidationErrorEntry } from "fastest-validator"; import { ErrorOut, errors } from "oidc-provider"; export declare const OIDCErrors: typeof errors; export interface OIDCError extends ErrorOut { error: string; error_description?: string; data?: ValidationErrorEntry[]; debug?: any; [key: string]: any; }