Type Alias CryptoEventHandlerMap
Type declaration
crypto.keySignatureUploadFailure: ((failures: IUploadKeySignaturesResponse["failures"], source: "checkOwnCrossSigningTrust" | "afterCrossSigningLocalKeyChange" | "setDeviceVerification", upload: ((opts: {
shouldEmit: boolean;
}) => Promise<void>)) => void)
- (failures, source, upload): void
Parameters
- failures: IUploadKeySignaturesResponse["failures"]
- source: "checkOwnCrossSigningTrust" | "afterCrossSigningLocalKeyChange" | "setDeviceVerification"
- upload: ((opts: {
shouldEmit: boolean;
}) => Promise<void>)- (opts): Promise<void>
Parameters
- opts: {
shouldEmit: boolean;
}
Returns void
- (request): void
Returns void
- (request): void
Returns void
crypto.verification.request: ((request: VerificationRequest<any>) => void)
- (request): void
Returns void
crypto.warning: ((type: string) => void)
deviceVerificationChanged: ((userId: string, deviceId: string, deviceInfo: DeviceInfo) => void)
- (userId, deviceId, deviceInfo): void
Parameters
- userId: string
- deviceId: string
- deviceInfo: DeviceInfo
Returns void
userCrossSigningUpdated: ((userId: string) => void)
- (userId): void
Returns void
Fires when we receive a room key request