iya-sts
    Preparing search index...

    Variable credentialsExpiring

    credentialsExpiring: (username: string, items: any[]) => any = ...

    Type Declaration

      • (username: string, items: any[]): any
      • Reminds a person that credentials of theirs expire soon: one message naming every item, each with its kind, its label, the day it expires and how it is renewed. An item already queued at its step (the outbox) is left out, and nothing is sent when every item was.

        Parameters

        • username: string

          the person

        • items: any[]

          { key, step, kind, label, notAfter }: the credential's index key, the reminder step in days, its kind (of EXPIRY_RENEWAL), a label, and when it expires (ms)

        Returns any

        what send() answered, or { ok: false, skipped }, with told: the keys now told at their step (sent, or found queued)