Changeset View
Changeset View
Standalone View
Standalone View
shared/protos/identity_client.proto
Show First 20 Lines • Show All 298 Lines • ▼ Show 20 Lines | |||||
message OutboundKeyserverResponse { | message OutboundKeyserverResponse { | ||||
optional OutboundKeyInfo keyserverInfo = 1; | optional OutboundKeyInfo keyserverInfo = 1; | ||||
} | } | ||||
// UploadOneTimeKeys | // UploadOneTimeKeys | ||||
// As OPKs get exhausted, they need to be refreshed | // As OPKs get exhausted, they need to be refreshed | ||||
message UploadOneTimeKeysRequest { | message UploadOneTimeKeysRequest { | ||||
// Use device associated with token to insert OPKs | string userID = 1; | ||||
string accessToken = 1; | string deviceID = 2; | ||||
repeated string oneTimePreKeys = 2; | string accessToken = 3; | ||||
repeated string contentOneTimePreKeys = 4; | |||||
repeated string notifOneTimePreKeys = 5; | |||||
} | } | ||||
// RefreshUserPreKeys | // RefreshUserPreKeys | ||||
message RefreshUserPreKeysRequest { | message RefreshUserPreKeysRequest { | ||||
string accessToken = 1; | string accessToken = 1; | ||||
PreKey newPreKeys = 2; | PreKey newPreKeys = 2; | ||||
} | } | ||||
Show All 13 Lines |