2022-07-12 07:02:38 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package bet.beteran.c2se.backend.identity;
|
|
|
|
|
|
|
|
import "protobuf/rpc/error.proto";
|
|
|
|
|
|
|
|
// subject = bet.beteran.c2se.backend.identity.Signin
|
|
|
|
message SigninRequest {
|
2022-07-27 06:45:53 +00:00
|
|
|
string token = 1;
|
|
|
|
string security_code = 2;
|
|
|
|
string username = 3;
|
|
|
|
string password = 4;
|
2022-07-12 07:02:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message SigninResponse {
|
|
|
|
optional bet.protobuf.rpc.Error error = 1;
|
2022-07-27 07:40:05 +00:00
|
|
|
optional string session_id = 2;
|
2022-07-12 07:02:38 +00:00
|
|
|
}
|
2022-07-15 06:14:09 +00:00
|
|
|
|