iya-sts
    Preparing search index...

    Variable claimsChangeFor

    claimsChangeFor: (
        notice?: Record<string, any>,
    ) => { claims: Record<string, any> } = ...

    Type Declaration

      • (notice?: Record<string, any>): { claims: Record<string, any> }
      • Works out the claims a directory write moved, in CAEP token-claims-change's shape: each changed claim with its new value, and null for one that is gone.

        Parameters

        • Optionalnotice: Record<string, any>

          the directory's account observer notice: username and kind (updated, with the attribute maps before and after, or membership), or a notice that already names the moved claims

        Returns { claims: Record<string, any> }

        { claims }, or null when nothing a token carries moved