mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-22 11:24:08 +01:00
Explain that one-time keys must only be returned once.
This commit is contained in:
parent
10df90711a
commit
b43fa77049
|
|
@ -300,6 +300,10 @@ paths:
|
||||||
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
|
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
|
||||||
keys uploaded within a given call to `/keys/upload` are considered
|
keys uploaded within a given call to `/keys/upload` are considered
|
||||||
equivalent in this regard; no ordering is specified within them.)
|
equivalent in this regard; no ordering is specified within them.)
|
||||||
|
|
||||||
|
Servers must ensure that each one-time key is returned at most once,
|
||||||
|
so when a key has been returned, no other request will ever return
|
||||||
|
the same key.
|
||||||
operationId: claimKeys
|
operationId: claimKeys
|
||||||
security:
|
security:
|
||||||
- accessTokenQuery: []
|
- accessTokenQuery: []
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,10 @@ paths:
|
||||||
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
|
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
|
||||||
keys uploaded within a given call to `/keys/upload` are considered
|
keys uploaded within a given call to `/keys/upload` are considered
|
||||||
equivalent in this regard; no ordering is specified within them.)
|
equivalent in this regard; no ordering is specified within them.)
|
||||||
|
|
||||||
|
Servers must ensure that each one-time key is returned at most once,
|
||||||
|
so when a key has been returned, no other request will ever return
|
||||||
|
the same key.
|
||||||
operationId: claimUserEncryptionKeys
|
operationId: claimUserEncryptionKeys
|
||||||
security:
|
security:
|
||||||
- signedRequest: []
|
- signedRequest: []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue