Changeset View
Changeset View
Standalone View
Standalone View
shared/protos/identity_unauth.proto
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | |||||
// Request for registering a new user | // Request for registering a new user | ||||
message RegistrationStartRequest { | message RegistrationStartRequest { | ||||
// Message sent to initiate PAKE registration (step 1) | // Message sent to initiate PAKE registration (step 1) | ||||
bytes opaque_registration_request = 1; | bytes opaque_registration_request = 1; | ||||
string username = 2; | string username = 2; | ||||
// Information needed to open a new channel to current user's device | // Information needed to open a new channel to current user's device | ||||
DeviceKeyUpload device_key_upload = 3; | DeviceKeyUpload device_key_upload = 3; | ||||
optional string farcaster_id = 4; | |||||
} | } | ||||
message ReservedRegistrationStartRequest { | message ReservedRegistrationStartRequest { | ||||
// Message sent to initiate PAKE registration (step 1) | // Message sent to initiate PAKE registration (step 1) | ||||
bytes opaque_registration_request = 1; | bytes opaque_registration_request = 1; | ||||
string username = 2; | string username = 2; | ||||
// Information needed to open a new channel to current user's device | // Information needed to open a new channel to current user's device | ||||
DeviceKeyUpload device_key_upload = 3; | DeviceKeyUpload device_key_upload = 3; | ||||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
message WalletAuthRequest { | message WalletAuthRequest { | ||||
string siwe_message = 1; | string siwe_message = 1; | ||||
string siwe_signature = 2; | string siwe_signature = 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 device_key_upload = 3; | DeviceKeyUpload device_key_upload = 3; | ||||
optional string farcaster_id = 4; | |||||
} | } | ||||
message ReservedWalletRegistrationRequest { | message ReservedWalletRegistrationRequest { | ||||
string siwe_message = 1; | string siwe_message = 1; | ||||
string siwe_signature = 2; | string siwe_signature = 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 device_key_upload = 3; | DeviceKeyUpload device_key_upload = 3; | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |