iya-sts
    Preparing search index...

    Variable noteRecovery

    noteRecovery: (username: any, door: any) => boolean = ...

    Type Declaration

      • (username: any, door: any): boolean
      • Records that a recovery door restored access (#724), where it matters: recoveryHoldRequired() — the person holds a passkey and the passkey policy selected for them holds a recovery to it (recoveryAssurance not any). Under any, and for a person who holds no passkey, nothing is written and false is not a failed write. A false return when a hold WAS required is the directory write failing (setRecoveryPending, STS-AUTHN-0382); the caller decides what that does to the reset.

        Parameters

        • username: any

          the person

        • door: any

          the recovery door (passkey_policy.ts's RECOVERY_DOORS)

        Returns boolean

        true when a pending recovery was written