@rtorcato/supabase-common / isExpired
Function: isExpired()
isExpired(
claims,nowMs?):boolean
Defined in: claims.ts:60
Whether the token's exp is in the past (no exp → not expired). nowMs
defaults to Date.now(); pass it to test or to add a refresh skew.
Parameters
claims
nowMs?
number = ...
Returns
boolean