iya-sts
    Preparing search index...
    save: (name: unknown, given?: Record<string, any>) => PolicyResult = ...

    Type Declaration

      • (name: unknown, given?: Record<string, any>): PolicyResult
      • Replaces the default profile's entry with the values given.

        Parameters

        • name: unknown

          the profile; only default is accepted (STS-AUTHN-0107)

        • Optionalgiven: Record<string, any>

          every field, and optionally description

        Returns PolicyResult

        { ok, profile }, or { ok: false, errors } marked with its error code