iya-sts
    Preparing search index...

    Variable endFactorSessions

    endFactorSessions: (username?: string, factor?: Loose, opts?: Loose) => Loose = ...

    Type Declaration

      • (username?: string, factor?: Loose, opts?: Loose): Loose
      • Ends every session of a person that the factor named authenticated, with the tokens and codes issued on those sessions; every other session stays.

        Parameters

        • Optionalusername: string

          the person whose credential was removed

        • Optionalfactor: Loose

          { kind: 'webauthn', credentialId }, or { kind } for totp, backup-code or email (authn.sessionNamesFactor())

        • Optionalopts: Loose

          terminate()'s by, actor, initiatingEntity, channel

        Returns Loose

        { ok, sessionsEnded, itemsEnded, failed, sessionIds, message }