18 lines
358 B
Protocol Buffer
18 lines
358 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 username = 1;
|
||
|
string password = 2;
|
||
|
string security_code = 3;
|
||
|
}
|
||
|
|
||
|
message SigninResponse {
|
||
|
optional bet.protobuf.rpc.Error error = 1;
|
||
|
optional string token = 2;
|
||
|
}
|