iya-sts
    Preparing search index...

    Variable parseConsentValue

    parseConsentValue: (
        value: any,
    ) => { at: string; client: string; raw: string; scope: string } = ...

    Type Declaration

      • (value: any): { at: string; client: string; raw: string; scope: string }
      • Parses a consent value; the inverse of consentValueOf().

        A value whose first field is not a GeneralizedTime comes back with an empty scope, which every reader treats as not a consent.

        Parameters

        • value: any

          the attribute value

        Returns { at: string; client: string; raw: string; scope: string }

        { at, scope, client, raw }