UserManagerServiceBase constructor
UserManagerServiceBase()
Implementation
UserManagerServiceBase() {
$addMethod($grpc.ServiceMethod<$11.LoginInfo, $1.OperationResponse>(
'RegisterUserWithLoginInfo',
registerUserWithLoginInfo_Pre,
false,
false,
($core.List<$core.int> value) => $11.LoginInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.LoginInfo, $11.UserLoginResponse>(
'LoginWithUserLoginInfo',
loginWithUserLoginInfo_Pre,
false,
false,
($core.List<$core.int> value) => $11.LoginInfo.fromBuffer(value),
($11.UserLoginResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $11.UserLoginResponse>(
'LoginWithWechatCode',
loginWithWechatCode_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($11.UserLoginResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.OperationResponse>(
'BindWithWechatCode',
bindWithWechatCode_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $1.OperationResponse>(
'UnbindWechat',
unbindWechat_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $1.UserInfo>(
'GetUserInfo',
getUserInfo_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($1.UserInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.WechatUserInfo>(
'GetUserWechatInfoByCode',
getUserWechatInfoByCode_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.WechatUserInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.OperationResponse>(
'UpdateUserName',
updateUserName_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.OperationResponse>(
'UpdateUserEmail',
updateUserEmail_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.OperationResponse>(
'UpdateUserMobile',
updateUserMobile_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.OperationResponse>(
'UpdateUserPassword',
updateUserPassword_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.UpdateAvatar, $1.OperationResponse>(
'UpdateUserAvatar',
updateUserAvatar_Pre,
false,
false,
($core.List<$core.int> value) => $11.UpdateAvatar.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $2.StringValue>(
'GetAllConfig',
getAllConfig_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($2.StringValue value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.LoginInfo, $1.OperationResponse>(
'DeleteMyAccount',
deleteMyAccount_Pre,
false,
false,
($core.List<$core.int> value) => $11.LoginInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
}