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

23 lines (22 loc) 814 B
import { IdentityProvider } from "../idp"; import { Logger } from "../lib/logger"; import { OIDCProviderProxy, OIDCProviderProxyOptions } from "./proxy"; export declare type OIDCProviderProps = { logger: Logger; idp: IdentityProvider; }; export declare type OIDCProviderOptions = OIDCProviderProxyOptions; export interface OIDCProvider extends OIDCProviderProxy { } export declare class OIDCProvider { private readonly props; static modelNames: readonly import("./proxy").OIDCModelName[]; static volatileModelNames: readonly import("./proxy").OIDCModelName[]; private readonly logger; private readonly idp; private readonly proxy; constructor(props: OIDCProviderProps, options: OIDCProviderOptions); private working; start(): Promise<void>; stop(): Promise<void>; }