beteran-protobuf/proto/c2se/frontend/identity.proto
2022-07-27 06:45:53 +00:00

19 lines
378 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 token = 1;
string security_code = 2;
string username = 3;
string password = 4;
}
message SigninResponse {
optional bet.protobuf.rpc.Error error = 1;
optional string token = 2;
}