Changeset View
Changeset View
Standalone View
Standalone View
shared/protos/identity_client.proto
Show First 20 Lines • Show All 213 Lines • ▼ Show 20 Lines | message WalletLoginResponse { | ||||
string userID = 1; | string userID = 1; | ||||
string accessToken = 2; | string accessToken = 2; | ||||
} | } | ||||
// DeleteUser | // DeleteUser | ||||
message DeleteUserRequest { | message DeleteUserRequest { | ||||
string accessToken = 1; | string accessToken = 1; | ||||
string userID = 2; | |||||
// Public ed25519 key used for signing. We need this to look up a device's | |||||
// access token | |||||
string deviceIDKey = 3; | |||||
ashoat: Can you clarify why these are being added? Is it impossible to look up an `accessToken` just by… | |||||
varunAuthorUnsubmitted Done Inline Actionsyeah in our access token table, the primary key is user ID + device ID (ed25519 signing key) varun: yeah in our access token table, the primary key is user ID + device ID (ed25519 signing key) | |||||
ashoatUnsubmitted Not Done Inline ActionsThanks! ashoat: Thanks! | |||||
} | } | ||||
// GenerateNonce | // GenerateNonce | ||||
message GenerateNonceResponse{ | message GenerateNonceResponse{ | ||||
string nonce = 1; | string nonce = 1; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |
Can you clarify why these are being added? Is it impossible to look up an accessToken just by itself, and we always need to include userID and deviceIDKey in order to validate it? (Guessing this is the case based on VerifyUserAccessTokenRequest)