iya-sts
    Preparing search index...
    write: (
        pep: string,
        route: RouteLike,
    ) => Refusal | { name: string; ok: true; written: boolean } = ...

    Type Declaration

      • (
            pep: string,
            route: RouteLike,
        ): Refusal | { name: string; ok: true; written: boolean }
      • Writes (or rewrites) the policy a simple or public route generates, through ALFA and the store's validating write.

        Parameters

        • pep: string

          the PEP's name

        • route: RouteLike

          the normalised route

        Returns Refusal | { name: string; ok: true; written: boolean }

        { ok: true, name, written }, or a refusal