AppFlowy/shared-lib/flowy-user-data-model/resources/proto/auth.proto

35 lines
626 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
2022-02-24 13:49:18 +00:00
message SignInPayload {
string email = 1;
string password = 2;
string name = 3;
}
message SignInParams {
string email = 1;
string password = 2;
string name = 3;
}
message SignInResponse {
string user_id = 1;
string name = 2;
string email = 3;
string token = 4;
}
2022-02-24 13:49:18 +00:00
message SignUpPayload {
string email = 1;
string name = 2;
string password = 3;
}
message SignUpParams {
string email = 1;
string name = 2;
string password = 3;
}
message SignUpResponse {
string user_id = 1;
string name = 2;
string email = 3;
string token = 4;
}