iya-sts
    Preparing search index...
    clear: (
        username: string,
        actor: string,
        via: string,
        why?: string,
    ) =>
        | { ok: boolean; removed: boolean; was?: undefined }
        | { ok: boolean; removed: boolean; was: Kind } = ...

    Type Declaration

      • (
            username: string,
            actor: string,
            via: string,
            why?: string,
        ):
            | { ok: boolean; removed: boolean; was?: undefined }
            | { ok: boolean; removed: boolean; was: Kind }
      • Turns a person's emailed second factor off: by the person, an administrator, or this service at the failure limit.

        Parameters

        • username: string

          the person

        • actor: string

          who did it; '' for this service

        • via: string

          the surface it came through

        • Optionalwhy: string

          the reason, when there is one

        Returns
            | { ok: boolean; removed: boolean; was?: undefined }
            | { ok: boolean; removed: boolean; was: Kind }

        { ok, removed, was }