31 lines
662 B
Protocol Buffer
31 lines
662 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bet.beteran.ss.member.identity;
|
|
|
|
import "protobuf/rpc/error.proto";
|
|
import "models/core/network.proto";
|
|
|
|
// subject = bet.beteran.ss.member.identity.Captcha
|
|
message CaptchaRequest {
|
|
bet.beteran.core.network.Client client = 1;
|
|
}
|
|
|
|
message CaptchaResponse {
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional string image = 2;
|
|
}
|
|
|
|
|
|
// subject = bet.beteran.ss.member.identity.Signin
|
|
message SigninRequest {
|
|
bet.beteran.core.network.Client client = 1;
|
|
string username = 2;
|
|
string password = 3;
|
|
string security_code = 4;
|
|
}
|
|
|
|
message SigninResponse {
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional string token = 2;
|
|
}
|