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