OptionalincrementRequested TTL for each renewal in ms. Default: the server's default for the token/lease. A renewal that grants less than the requested TTL (or less than the initial TTL when no increment is set) means the maximum TTL was reached.
OptionalminShortest delay between two attempts in ms (default 500).
OptionalonCalled with every failed attempt. Renewal goes on while time is left.
OptionalonCalled exactly once when the token/lease expires and cannot be renewed any more.
OptionalonCalled after every renewal or re-login with the new token TTL.
OptionalreauthLogs in again with this method when the token cannot be renewed any more (not renewable or
maximum TTL reached). Without it, onExpire is called at expiry.
OptionalrenewRenew after this fraction of the TTL has passed (default 2/3).
OptionalschedulerClock and timers (tests).
Options of TokenRenewer.