Class VerificationBase<Events, Arguments>

Avoid referencing this class directly; instead use Crypto.Verifier.

Type Parameters

Hierarchy (View Summary)

Implements

Constructors

Properties

baseApis: MatrixClient

base matrix api interface

the verification channel to send verification messages over. TODO: Channel types

deviceId: string

the device ID that is being verified

doVerification?: () => Promise<void>
expectedEvent?: string

the key verification request object related to this verification, if any

startEvent: null | MatrixEvent

the m.key.verification.start event that initiated this verification, if any

userId: string

the user ID that is being verified

Accessors

  • get hasBeenCancelled(): boolean
  • Returns true if the verification has been cancelled, either by us or the other side.

    Returns boolean

Methods