beteran-protobuf/proto/c2se/common/identity.proto

32 lines
650 B
Protocol Buffer
Raw Normal View History

2022-07-27 06:45:53 +00:00
syntax = "proto3";
package bet.beteran.c2se.common.identity;
// subject = bet.beteran.c2se.common.identity.CheckUsernameForDuplication;
message CheckUsernameForDuplicationRequest {
string username = 1;
}
message CheckUsernameForDuplicationResponse {
2022-08-03 06:52:17 +00:00
bool duplicated = 1;
2022-07-27 06:45:53 +00:00
}
// subject = bet.beteran.c2se.common.identity.CheckNicknameForDuplication;
message CheckNicknameForDuplicationRequest {
string nickname = 1;
}
message CheckNicknameForDuplicationResponse {
2022-08-03 06:52:17 +00:00
bool duplicated = 1;
2022-07-27 06:45:53 +00:00
}
// subject = bet.beteran.c2se.common.identity.Captcha
message CaptchaRequest {
}
message CaptchaResponse {
2022-08-03 06:52:17 +00:00
string token = 1;
string image = 2;
2022-07-27 06:45:53 +00:00
}