2022-07-12 07:02:38 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package bet.beteran.c2se.frontend.identity;
|
|
|
|
|
|
|
|
import "protobuf/rpc/error.proto";
|
|
|
|
|
2022-07-15 06:14:09 +00:00
|
|
|
// subject = bet.beteran.c2se.frontend.identity.Captcha
|
|
|
|
message CaptchaRequest {
|
|
|
|
}
|
|
|
|
|
|
|
|
message CaptchaResponse {
|
|
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
|
|
optional string image = 2;
|
|
|
|
}
|
|
|
|
|
2022-07-12 07:02:38 +00:00
|
|
|
// 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;
|
|
|
|
}
|