MCPcopy Create free account
hub / github.com/daodst/chat / DeleteDeviceKeys

Method DeleteDeviceKeys

keyserver/storage/interface.go:60–60  ·  view source on GitHub ↗

DeleteDeviceKeys removes the device keys for a given user/device, and any accompanying cross-signing signatures relating to that device.

(ctx context.Context, userID string, deviceIDs []gomatrixserverlib.KeyID)

Source from the content-addressed store, hash-verified

58 // DeleteDeviceKeys removes the device keys for a given user/device, and any accompanying
59 // cross-signing signatures relating to that device.
60 DeleteDeviceKeys(ctx context.Context, userID string, deviceIDs []gomatrixserverlib.KeyID) error
61
62 // ClaimKeys based on the 3-uple of user_id, device_id and algorithm name. Returns the keys claimed. Returns no error if a key
63 // cannot be claimed or if none exist for this (user, device, algorithm), instead it is omitted from the returned slice.

Callers 2

PerformDeleteKeysMethod · 0.65
uploadLocalDeviceKeysMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected