23 lines
428 B
Protocol Buffer
23 lines
428 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bet.beteran.c2se.backend.identity;
|
|
|
|
import "protobuf/rpc/error.proto";
|
|
|
|
// subject = bet.beteran.c2se.backend.identity.Signin
|
|
message SigninRequest {
|
|
string token = 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;
|
|
}
|
|
|