iya-sts
    Preparing search index...
    revoke: (jti: any, via: any, how: any, expSec: any) => boolean = revoke

    Type Declaration

      • (jti: any, via: any, how: any, expSec: any): boolean
      • Revokes a token by jti, whether or not this register holds its record.

        The revocation observer is told the first time only, and cannot fail the revocation.

        Parameters

        • jti: any

          the token's jti

        • via: any

          which door revoked it, for the record and the log

        • how: any

          the door's statement of the act, passed to the observer

        • expSec: any

          the token's exp, in epoch seconds, where the door has it; otherwise the register's record's, and 0 (kept until the cap) where neither knows (#345)

        Returns boolean

        true when the jti was newly revoked, false when it was already revoked or empty