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

    Type Declaration

      • (name: unknown, given?: Record<string, any>): PolicyResult
      • Saves a profile of this realm, replacing it whole.

        Parameters

        • name: unknown

          the profile name: default, or a named profile

        • Optionalgiven: Record<string, any>

          every field, and for a named profile its precedence

        Returns PolicyResult

        ok and the profile now in force, or ok: false with errors