iya-sts
    Preparing search index...
    parse: (raw: unknown, opts?: any) => any = ...

    Type Declaration

      • (raw: unknown, opts?: any): any
      • Parses and checks one authorization_details value. Never throws.

        Parameters

        • raw: unknown

          JSON text or an array

        • Optionalopts: any

          clientTypes (the client's registered types, [] for any), profileTypes (the selected authorization server's list, or null) and builtIn, the openid_credential check

        Returns any

        { ok: true, details: null } when nothing was sent, { ok: true, details, resolved } when every detail passed, or a refusal whose error is the sentence for invalid_authorization_details