2022-07-12 07:02:38 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package bet.beteran.c2se.frontend.identity;
|
|
|
|
|
2022-08-03 07:31:10 +00:00
|
|
|
import "protobuf/rpc/error.proto";
|
|
|
|
|
2022-07-12 07:02:38 +00:00
|
|
|
// subject = bet.beteran.c2se.frontend.identity.Signin
|
|
|
|
message SigninRequest {
|
2022-08-06 03:59:02 +00:00
|
|
|
string security_code_hash = 1;
|
2022-07-27 06:45:53 +00:00
|
|
|
string security_code = 2;
|
|
|
|
string username = 3;
|
|
|
|
string password = 4;
|
2022-07-12 07:02:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message SigninResponse {
|
2022-08-03 07:31:10 +00:00
|
|
|
message Result {
|
|
|
|
string session_id = 1;
|
|
|
|
}
|
|
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
|
|
optional Result result = 2;
|
2022-07-12 07:02:38 +00:00
|
|
|
}
|