Changeset View
Changeset View
Standalone View
Standalone View
shared/protos/identity_auth.proto
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | rpc GetKeyserverKeys(OutboundKeysForUserRequest) returns | ||||
(KeyserverKeysResponse) {} | (KeyserverKeysResponse) {} | ||||
// Returns device list history | // Returns device list history | ||||
rpc GetDeviceListForUser(GetDeviceListRequest) returns | rpc GetDeviceListForUser(GetDeviceListRequest) returns | ||||
(GetDeviceListResponse) {} | (GetDeviceListResponse) {} | ||||
rpc UpdateDeviceList(UpdateDeviceListRequest) returns | rpc UpdateDeviceList(UpdateDeviceListRequest) returns | ||||
(identity.unauth.Empty) {} | (identity.unauth.Empty) {} | ||||
// Farcaster actions | |||||
// Called by an existing user to link their Farcaster account | |||||
rpc LinkFarcasterAccount(LinkFarcasterAccountRequest) returns | |||||
(identity.unauth.Empty) {} | |||||
} | } | ||||
// Helper types | // Helper types | ||||
message EthereumIdentity { | message EthereumIdentity { | ||||
string wallet_address = 1; | string wallet_address = 1; | ||||
string social_proof = 2; | string social_proof = 2; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | message UpdateDeviceListRequest { | ||||
// { | // { | ||||
// "rawDeviceList": JSON.stringify({ | // "rawDeviceList": JSON.stringify({ | ||||
// "devices": [<device_id: string>, ...] | // "devices": [<device_id: string>, ...] | ||||
// "timestamp": <UTC timestamp in milliseconds: int>, | // "timestamp": <UTC timestamp in milliseconds: int>, | ||||
// }) | // }) | ||||
// } | // } | ||||
string new_device_list = 1; | string new_device_list = 1; | ||||
} | } | ||||
// LinkFarcasterAccount | |||||
message LinkFarcasterAccountRequest { | |||||
string farcaster_id = 1; | |||||
} |