iya-sts
    Preparing search index...
    act: (
        action: string,
        body: Record<string, any>,
    ) =>
        | { errors: string[]; ok: boolean }
        | {
            dn: string;
            message: string;
            ok: boolean;
            policy: {
                description: string;
                dn: string;
                mechanisms: string[];
                name: string;
                precedence: number;
                secondFactors: string[];
            };
        }
        | {
            dn: string;
            message: string;
            name: string;
            ok: boolean;
            removed: boolean;
        } = ...

    Type Declaration

      • (
            action: string,
            body: Record<string, any>,
        ):
            | { errors: string[]; ok: boolean }
            | {
                dn: string;
                message: string;
                ok: boolean;
                policy: {
                    description: string;
                    dn: string;
                    mechanisms: string[];
                    name: string;
                    precedence: number;
                    secondFactors: string[];
                };
            }
            | {
                dn: string;
                message: string;
                name: string;
                ok: boolean;
                removed: boolean;
            }
      • Answers the authentication policy's acts beside save and reset (#1148).

        Parameters

        • action: string

          save-named-authn-policy or delete-named-authn-policy

        • body: Record<string, any>

          the act's body

        Returns
            | { errors: string[]; ok: boolean }
            | {
                dn: string;
                message: string;
                ok: boolean;
                policy: {
                    description: string;
                    dn: string;
                    mechanisms: string[];
                    name: string;
                    precedence: number;
                    secondFactors: string[];
                };
            }
            | {
                dn: string;
                message: string;
                name: string;
                ok: boolean;
                removed: boolean;
            }

        the act's answer, or a refusal naming the two acts