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

32 lines
650 B
Protocol Buffer

syntax = "proto3";
package bet.beteran.c2se.common.identity;
// subject = bet.beteran.c2se.common.identity.CheckUsernameForDuplication;
message CheckUsernameForDuplicationRequest {
string username = 1;
}
message CheckUsernameForDuplicationResponse {
bool duplicated = 1;
}
// subject = bet.beteran.c2se.common.identity.CheckNicknameForDuplication;
message CheckNicknameForDuplicationRequest {
string nickname = 1;
}
message CheckNicknameForDuplicationResponse {
bool duplicated = 1;
}
// subject = bet.beteran.c2se.common.identity.Captcha
message CaptchaRequest {
}
message CaptchaResponse {
string token = 1;
string image = 2;
}