Changeset View
Changeset View
Standalone View
Standalone View
shared/protos/identity_client.proto
Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Lines | |||||
message OpaqueLoginStartResponse { | message OpaqueLoginStartResponse { | ||||
// Identifier used to correlate start request with finish request | // Identifier used to correlate start request with finish request | ||||
string sessionID = 1; | string sessionID = 1; | ||||
// Opaque challenge sent from server to client attempting to login (Step 2) | // Opaque challenge sent from server to client attempting to login (Step 2) | ||||
bytes opaqueLoginResponse = 2; | bytes opaqueLoginResponse = 2; | ||||
} | } | ||||
message OpaqueLoginFinishResponse { | message OpaqueLoginFinishResponse { | ||||
// Mint and return a new key upon successful login | string userID = 1; | ||||
string accessToken = 1; | // Mint and return a new access token upon successful login | ||||
string accessToken = 2; | |||||
} | } | ||||
message WalletLoginRequest { | message WalletLoginRequest { | ||||
string siweMessage = 1; | string siweMessage = 1; | ||||
string siweSignature = 2; | string siweSignature = 2; | ||||
// Information specific to a user's device needed to open a new channel of | // Information specific to a user's device needed to open a new channel of | ||||
// communication with this user | // communication with this user | ||||
DeviceKeyUpload deviceKeyUpload = 3; | DeviceKeyUpload deviceKeyUpload = 3; | ||||
} | } | ||||
message WalletLoginResponse { | message WalletLoginResponse { | ||||
string accessToken = 1; | string userID = 1; | ||||
string accessToken = 2; | |||||
} | } | ||||
// DeleteUser | // DeleteUser | ||||
message DeleteUserRequest { | message DeleteUserRequest { | ||||
string accessToken = 1; | string accessToken = 1; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |