UserServiceBase constructor
UserServiceBase()
Implementation
UserServiceBase() {
$addMethod($grpc.ServiceMethod<$0.AddHumanUserRequest, $0.AddHumanUserResponse>(
'AddHumanUser',
addHumanUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.AddHumanUserRequest.fromBuffer(value),
($0.AddHumanUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetUserByIDRequest, $0.GetUserByIDResponse>(
'GetUserByID',
getUserByID_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetUserByIDRequest.fromBuffer(value),
($0.GetUserByIDResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListUsersRequest, $0.ListUsersResponse>(
'ListUsers',
listUsers_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListUsersRequest.fromBuffer(value),
($0.ListUsersResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetEmailRequest, $0.SetEmailResponse>(
'SetEmail',
setEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetEmailRequest.fromBuffer(value),
($0.SetEmailResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ResendEmailCodeRequest, $0.ResendEmailCodeResponse>(
'ResendEmailCode',
resendEmailCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.ResendEmailCodeRequest.fromBuffer(value),
($0.ResendEmailCodeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.VerifyEmailRequest, $0.VerifyEmailResponse>(
'VerifyEmail',
verifyEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.VerifyEmailRequest.fromBuffer(value),
($0.VerifyEmailResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetPhoneRequest, $0.SetPhoneResponse>(
'SetPhone',
setPhone_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetPhoneRequest.fromBuffer(value),
($0.SetPhoneResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ResendPhoneCodeRequest, $0.ResendPhoneCodeResponse>(
'ResendPhoneCode',
resendPhoneCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.ResendPhoneCodeRequest.fromBuffer(value),
($0.ResendPhoneCodeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.VerifyPhoneRequest, $0.VerifyPhoneResponse>(
'VerifyPhone',
verifyPhone_Pre,
false,
false,
($core.List<$core.int> value) => $0.VerifyPhoneRequest.fromBuffer(value),
($0.VerifyPhoneResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.UpdateHumanUserRequest, $0.UpdateHumanUserResponse>(
'UpdateHumanUser',
updateHumanUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.UpdateHumanUserRequest.fromBuffer(value),
($0.UpdateHumanUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeactivateUserRequest, $0.DeactivateUserResponse>(
'DeactivateUser',
deactivateUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeactivateUserRequest.fromBuffer(value),
($0.DeactivateUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ReactivateUserRequest, $0.ReactivateUserResponse>(
'ReactivateUser',
reactivateUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.ReactivateUserRequest.fromBuffer(value),
($0.ReactivateUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.LockUserRequest, $0.LockUserResponse>(
'LockUser',
lockUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.LockUserRequest.fromBuffer(value),
($0.LockUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.UnlockUserRequest, $0.UnlockUserResponse>(
'UnlockUser',
unlockUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.UnlockUserRequest.fromBuffer(value),
($0.UnlockUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteUserRequest, $0.DeleteUserResponse>(
'DeleteUser',
deleteUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteUserRequest.fromBuffer(value),
($0.DeleteUserResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RegisterPasskeyRequest, $0.RegisterPasskeyResponse>(
'RegisterPasskey',
registerPasskey_Pre,
false,
false,
($core.List<$core.int> value) => $0.RegisterPasskeyRequest.fromBuffer(value),
($0.RegisterPasskeyResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.VerifyPasskeyRegistrationRequest, $0.VerifyPasskeyRegistrationResponse>(
'VerifyPasskeyRegistration',
verifyPasskeyRegistration_Pre,
false,
false,
($core.List<$core.int> value) => $0.VerifyPasskeyRegistrationRequest.fromBuffer(value),
($0.VerifyPasskeyRegistrationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreatePasskeyRegistrationLinkRequest, $0.CreatePasskeyRegistrationLinkResponse>(
'CreatePasskeyRegistrationLink',
createPasskeyRegistrationLink_Pre,
false,
false,
($core.List<$core.int> value) => $0.CreatePasskeyRegistrationLinkRequest.fromBuffer(value),
($0.CreatePasskeyRegistrationLinkResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RegisterU2FRequest, $0.RegisterU2FResponse>(
'RegisterU2F',
registerU2F_Pre,
false,
false,
($core.List<$core.int> value) => $0.RegisterU2FRequest.fromBuffer(value),
($0.RegisterU2FResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.VerifyU2FRegistrationRequest, $0.VerifyU2FRegistrationResponse>(
'VerifyU2FRegistration',
verifyU2FRegistration_Pre,
false,
false,
($core.List<$core.int> value) => $0.VerifyU2FRegistrationRequest.fromBuffer(value),
($0.VerifyU2FRegistrationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RegisterTOTPRequest, $0.RegisterTOTPResponse>(
'RegisterTOTP',
registerTOTP_Pre,
false,
false,
($core.List<$core.int> value) => $0.RegisterTOTPRequest.fromBuffer(value),
($0.RegisterTOTPResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.VerifyTOTPRegistrationRequest, $0.VerifyTOTPRegistrationResponse>(
'VerifyTOTPRegistration',
verifyTOTPRegistration_Pre,
false,
false,
($core.List<$core.int> value) => $0.VerifyTOTPRegistrationRequest.fromBuffer(value),
($0.VerifyTOTPRegistrationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AddOTPSMSRequest, $0.AddOTPSMSResponse>(
'AddOTPSMS',
addOTPSMS_Pre,
false,
false,
($core.List<$core.int> value) => $0.AddOTPSMSRequest.fromBuffer(value),
($0.AddOTPSMSResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RemoveOTPSMSRequest, $0.RemoveOTPSMSResponse>(
'RemoveOTPSMS',
removeOTPSMS_Pre,
false,
false,
($core.List<$core.int> value) => $0.RemoveOTPSMSRequest.fromBuffer(value),
($0.RemoveOTPSMSResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AddOTPEmailRequest, $0.AddOTPEmailResponse>(
'AddOTPEmail',
addOTPEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.AddOTPEmailRequest.fromBuffer(value),
($0.AddOTPEmailResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RemoveOTPEmailRequest, $0.RemoveOTPEmailResponse>(
'RemoveOTPEmail',
removeOTPEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.RemoveOTPEmailRequest.fromBuffer(value),
($0.RemoveOTPEmailResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StartIdentityProviderIntentRequest, $0.StartIdentityProviderIntentResponse>(
'StartIdentityProviderIntent',
startIdentityProviderIntent_Pre,
false,
false,
($core.List<$core.int> value) => $0.StartIdentityProviderIntentRequest.fromBuffer(value),
($0.StartIdentityProviderIntentResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RetrieveIdentityProviderIntentRequest, $0.RetrieveIdentityProviderIntentResponse>(
'RetrieveIdentityProviderIntent',
retrieveIdentityProviderIntent_Pre,
false,
false,
($core.List<$core.int> value) => $0.RetrieveIdentityProviderIntentRequest.fromBuffer(value),
($0.RetrieveIdentityProviderIntentResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AddIDPLinkRequest, $0.AddIDPLinkResponse>(
'AddIDPLink',
addIDPLink_Pre,
false,
false,
($core.List<$core.int> value) => $0.AddIDPLinkRequest.fromBuffer(value),
($0.AddIDPLinkResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.PasswordResetRequest, $0.PasswordResetResponse>(
'PasswordReset',
passwordReset_Pre,
false,
false,
($core.List<$core.int> value) => $0.PasswordResetRequest.fromBuffer(value),
($0.PasswordResetResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetPasswordRequest, $0.SetPasswordResponse>(
'SetPassword',
setPassword_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetPasswordRequest.fromBuffer(value),
($0.SetPasswordResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListAuthenticationMethodTypesRequest, $0.ListAuthenticationMethodTypesResponse>(
'ListAuthenticationMethodTypes',
listAuthenticationMethodTypes_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListAuthenticationMethodTypesRequest.fromBuffer(value),
($0.ListAuthenticationMethodTypesResponse value) => value.writeToBuffer()));
}