@theredhead — Frontend Library - v1.0.0
    Preparing search index...
    • Check whether a decoded JWT is not yet valid (the nbf claim is in the future).

      Parameters

      • payload: JwtPayload

        The decoded JWT payload.

      • nowSeconds: number = ...

        Current time in seconds since epoch.

      • clockToleranceSeconds: number = 0

        Grace period in seconds. Defaults to 0.

      Returns boolean

      true if the token has an nbf claim and it is in the future.