jwt_valid_set_now

Set the time for which expires and not-before claims should be evaluated.

@param jwt_valid Pointer to a JWT validation object. @param now Time to use when considering nbf and exp claims. @return Returns 0 on success, valid errno otherwise.

@remark jwt_validate() will not fail based on time if no expires or not-before claims exist in a JWT object.

extern (C) nothrow @nogc
int
jwt_valid_set_now
(,
const time_t now
)

Meta