iya-sts
    Preparing search index...
    decide: (state: any, nowMs: number, intervalMs: number) => any = ...

    Forwards to KrbtgtRotation.decide() on the installed instance.

    Type Declaration

      • (state: any, nowMs: number, intervalMs: number): any
      • Decides whether a realm's krbtgt is due for rotation from its state and the time; never while the version the last rotation kept is inside its window. Pure.

        Parameters

        • state: any

          the register's krbtgtState()

        • nowMs: number

          the time, in epoch milliseconds

        • intervalMs: number

          the rotation interval

        Returns any

        { due, dueAt, lastMs, openUntilMs, why }, with first when no key is stored yet