beteran-protobuf/proto/c2se/frontend/identity.proto
2022-08-06 03:59:02 +00:00

22 lines
442 B
Protocol Buffer

syntax = "proto3";
package bet.beteran.c2se.frontend.identity;
import "protobuf/rpc/error.proto";
// subject = bet.beteran.c2se.frontend.identity.Signin
message SigninRequest {
string security_code_hash = 1;
string security_code = 2;
string username = 3;
string password = 4;
}
message SigninResponse {
message Result {
string session_id = 1;
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}