Expand description
Implements APIs for client key upload from the matrix spec
Structsยง
- Signature
Error - Thrown when signature verification fails.
- User
Keys Component - Component implementing endpoints for user keys
Enumsยง
- Should
BeFallback ๐ - Parameter used to tell
check_onetime_key()what to check. - User
Keys ๐Error
Functionsยง
- check_
device_ ๐key - Given the user and device IDs of the authenticated request made, performs
various checks on a [
DeviceKeys]. - check_
onetime_ ๐key - Performs various checks on a [
OneTimeKey]. - claim_
keys_ ๐handler - Handler for
POST /_matrix/client/v3/keys/claim(See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3keysclaim). - get_
keys_ ๐handler - Handler for
POST /_matrix/client/v3/keys/query(See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3keysquery). - handle_
new_ ๐device_ key - Handles a new device-keys upload by:
- upload_
keys_ ๐handler - Handler for
POST /_matrix/client/v3/keys/upload(See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3keysupload).