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

12 lines (11 loc) 449 B
import { ServiceSchema } from "moleculer"; import { IdentityProviderOptions } from "../idp"; import { OIDCProviderOptions } from "../op"; import { IAMServerOptions } from "../server"; export declare type IAMServiceSchemaOptions = { idp: IdentityProviderOptions; op: OIDCProviderOptions; server: IAMServerOptions; apiGatewayEndpoint?: string; }; export declare function IAMServiceSchema(opts: IAMServiceSchemaOptions): ServiceSchema;