Skip to content

InteractionMethods

@tsed/oidc-provider

Usage

typescript
import { InteractionMethods } from "@tsed/oidc-provider";

See /packages/security/oidc-provider/src/types/domain/InteractionMethods.ts.

Overview

ts
interface InteractionMethods {
    details?: (ctx: KoaContextWithOIDC) => CanBePromise<UnknownObject>;
    checks?: () => interactionPolicy.Check[];
    $onCreate?: (prompt: interactionPolicy.Prompt) => void | Promise<void>;
    $prompt?: (...args: any[]) => any | Promise<any>;
}

details:

ts
details?: (ctx: KoaContextWithOIDC) => CanBePromise<UnknownObject>;

checks:

ts
checks?: () => interactionPolicy.Check[];

$onCreate:

ts
$onCreate?: (prompt: interactionPolicy.Prompt) => void | Promise<void>;

$prompt:

ts
$prompt?: (...args: any[]) => any | Promise<any>;

Released under the MIT License.