iya-sts
    Preparing search index...
    decode: (
        presented: any,
    ) =>
        | { ok: boolean; why: string; xml?: undefined }
        | { ok: boolean; why?: undefined; xml: string } = decode

    Type Declaration

      • (
            presented: any,
        ):
            | { ok: boolean; why: string; xml?: undefined }
            | { ok: boolean; why?: undefined; xml: string }
      • Decodes the assertion parameter, telling base64url from standard base64 before decoding.

        Parameters

        • presented: any

          the parameter as presented

        Returns
            | { ok: boolean; why: string; xml?: undefined }
            | { ok: boolean; why?: undefined; xml: string }

        { ok: true, xml }, or { ok: false, why }