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.
OptionalrenewRenew after this fraction of the TTL has passed (default 2/3).
OptionalschedulerClock and timers (tests).
Common options of the token and lease renewers.