UserIdentities

sealed class UserIdentities

A sealed class representing user identities.

User identities can come in the form of OwnUserIdentity which represents our own user identity, or UserIdentity which represents a user identity belonging to another user.

Functions

Link copied to clipboard
abstract suspend fun toMxCrossSigningInfo(): MXCrossSigningInfo

Convert the identity into a MxCrossSigningInfo class.

Link copied to clipboard
abstract fun userId(): String

The unique ID of the user this identity belongs to.

Link copied to clipboard
abstract suspend fun verified(): Boolean

Check the verification state of the user identity.

Link copied to clipboard
abstract suspend fun verify()

Manually verify the user identity.