IGPAPI
    Preparing search index...

    Function isXMetaUsdidExpired

    • Returns true when the cached x-meta-usdid is missing, malformed, or its embedded <timestamp> (= JWS exp - 2) has already elapsed. Callers use this to decide whether to re-run postUsdidRegistration at flow entry points (e.g. PostLoginFlow on idle restore).

      Parameters

      • header: string | undefined
      • nowSec: number

      Returns boolean