Represents the ways in which we trust a user

Constructors

  • Parameters

    • crossSigningVerified: boolean
    • crossSigningVerifiedBefore: boolean
    • tofu: boolean
    • needsUserApproval: boolean = false

    Returns UserVerificationStatus

Properties

needsUserApproval: boolean

Indicates if the identity has changed in a way that needs user approval.

This happens if the identity has changed since we first saw it, unless the new identity has also been verified by our user (eg via an interactive verification).

To rectify this, either:

true if the identity has changed in a way that needs user approval.

Methods

  • Returns boolean

    true if this user's key is trusted on first use

    No longer supported, with the Rust crypto stack.

  • Returns boolean

    true if we ever verified this user before (at least for the history of verifications observed by this device).