Search Results for

    Show / Hide Table of Contents

    TSparkleJwtMiddleware.AllowedClockSkew Property

    Determines the tolerance (in seconds) for checking time-based claims.

    Remarks

    When the JWT is being validated, some time-related claims might be validated, like "exp" (expiration) and "nbf" (not before). By default, no tolerance is allowed. For example, if the "exp" value is just 1 second behind the current system time, the token will be considered expired. This property allows to define a tolerance window, in seconds, where the time-based claims will still be considered valid. If the token is expired for 3 seconds, but AllowedClockSkew is set to 5 (seconds), then the token will still be considered valid.

    Syntax

    Unit: Sparkle.Comp.JwtMiddleware

    property TSparkleJwtMiddleware.AllowedClockSkew: Integer

    See also

    • TSparkleJwtMiddleware
    In This Article
    Back to top TMS Sparkle v3.32
    © 2002 - 2025 tmssoftware.com