ZITADELUsersServiceBase constructor

ZITADELUsersServiceBase()

Implementation

ZITADELUsersServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$0.SearchUsersRequest, $0.SearchUsersResponse>(
          'SearchUsers',
          searchUsers_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.SearchUsersRequest.fromBuffer(value),
          ($0.SearchUsersResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.GetUserRequest, $0.GetUserResponse>(
      'GetUser',
      getUser_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.GetUserRequest.fromBuffer(value),
      ($0.GetUserResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.CreateUserRequest, $0.CreateUserResponse>(
      'CreateUser',
      createUser_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.CreateUserRequest.fromBuffer(value),
      ($0.CreateUserResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.PatchUserRequest, $0.PatchUserResponse>(
      'PatchUser',
      patchUser_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.PatchUserRequest.fromBuffer(value),
      ($0.PatchUserResponse 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.ActivateUserRequest, $0.ActivateUserResponse>(
          'ActivateUser',
          activateUser_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ActivateUserRequest.fromBuffer(value),
          ($0.ActivateUserResponse 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.SetContactEmailRequest,
          $0.SetContactEmailResponse>(
      'SetContactEmail',
      setContactEmail_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SetContactEmailRequest.fromBuffer(value),
      ($0.SetContactEmailResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.VerifyContactEmailRequest,
          $0.VerifyContactEmailResponse>(
      'VerifyContactEmail',
      verifyContactEmail_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.VerifyContactEmailRequest.fromBuffer(value),
      ($0.VerifyContactEmailResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ResendContactEmailCodeRequest,
          $0.ResendContactEmailCodeResponse>(
      'ResendContactEmailCode',
      resendContactEmailCode_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ResendContactEmailCodeRequest.fromBuffer(value),
      ($0.ResendContactEmailCodeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetContactPhoneRequest,
          $0.SetContactPhoneResponse>(
      'SetContactPhone',
      setContactPhone_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SetContactPhoneRequest.fromBuffer(value),
      ($0.SetContactPhoneResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.VerifyContactPhoneRequest,
          $0.VerifyContactPhoneResponse>(
      'VerifyContactPhone',
      verifyContactPhone_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.VerifyContactPhoneRequest.fromBuffer(value),
      ($0.VerifyContactPhoneResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ResendContactPhoneCodeRequest,
          $0.ResendContactPhoneCodeResponse>(
      'ResendContactPhoneCode',
      resendContactPhoneCode_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ResendContactPhoneCodeRequest.fromBuffer(value),
      ($0.ResendContactPhoneCodeResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.AddUsernameRequest, $0.AddUsernameResponse>(
          'AddUsername',
          addUsername_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.AddUsernameRequest.fromBuffer(value),
          ($0.AddUsernameResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.RemoveUsernameRequest,
          $0.RemoveUsernameResponse>(
      'RemoveUsername',
      removeUsername_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RemoveUsernameRequest.fromBuffer(value),
      ($0.RemoveUsernameResponse 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.RequestPasswordResetRequest,
          $0.RequestPasswordResetResponse>(
      'RequestPasswordReset',
      requestPasswordReset_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RequestPasswordResetRequest.fromBuffer(value),
      ($0.RequestPasswordResetResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.StartWebAuthNRegistrationRequest,
          $0.StartWebAuthNRegistrationResponse>(
      'StartWebAuthNRegistration',
      startWebAuthNRegistration_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.StartWebAuthNRegistrationRequest.fromBuffer(value),
      ($0.StartWebAuthNRegistrationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.VerifyWebAuthNRegistrationRequest,
          $0.VerifyWebAuthNRegistrationResponse>(
      'VerifyWebAuthNRegistration',
      verifyWebAuthNRegistration_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.VerifyWebAuthNRegistrationRequest.fromBuffer(value),
      ($0.VerifyWebAuthNRegistrationResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.CreateWebAuthNRegistrationLinkRequest,
          $0.CreateWebAuthNRegistrationLinkResponse>(
      'CreateWebAuthNRegistrationLink',
      createWebAuthNRegistrationLink_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.CreateWebAuthNRegistrationLinkRequest.fromBuffer(value),
      ($0.CreateWebAuthNRegistrationLinkResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.RemoveWebAuthNAuthenticatorRequest,
          $0.RemoveWebAuthNAuthenticatorResponse>(
      'RemoveWebAuthNAuthenticator',
      removeWebAuthNAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RemoveWebAuthNAuthenticatorRequest.fromBuffer(value),
      ($0.RemoveWebAuthNAuthenticatorResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.StartTOTPRegistrationRequest,
          $0.StartTOTPRegistrationResponse>(
      'StartTOTPRegistration',
      startTOTPRegistration_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.StartTOTPRegistrationRequest.fromBuffer(value),
      ($0.StartTOTPRegistrationResponse 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.RemoveTOTPAuthenticatorRequest,
          $0.RemoveTOTPAuthenticatorResponse>(
      'RemoveTOTPAuthenticator',
      removeTOTPAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RemoveTOTPAuthenticatorRequest.fromBuffer(value),
      ($0.RemoveTOTPAuthenticatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.AddOTPSMSAuthenticatorRequest,
          $0.AddOTPSMSAuthenticatorResponse>(
      'AddOTPSMSAuthenticator',
      addOTPSMSAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.AddOTPSMSAuthenticatorRequest.fromBuffer(value),
      ($0.AddOTPSMSAuthenticatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.VerifyOTPSMSRegistrationRequest,
          $0.VerifyOTPSMSRegistrationResponse>(
      'VerifyOTPSMSRegistration',
      verifyOTPSMSRegistration_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.VerifyOTPSMSRegistrationRequest.fromBuffer(value),
      ($0.VerifyOTPSMSRegistrationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.RemoveOTPSMSAuthenticatorRequest,
          $0.RemoveOTPSMSAuthenticatorResponse>(
      'RemoveOTPSMSAuthenticator',
      removeOTPSMSAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RemoveOTPSMSAuthenticatorRequest.fromBuffer(value),
      ($0.RemoveOTPSMSAuthenticatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.AddOTPEmailAuthenticatorRequest,
          $0.AddOTPEmailAuthenticatorResponse>(
      'AddOTPEmailAuthenticator',
      addOTPEmailAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.AddOTPEmailAuthenticatorRequest.fromBuffer(value),
      ($0.AddOTPEmailAuthenticatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.VerifyOTPEmailRegistrationRequest,
          $0.VerifyOTPEmailRegistrationResponse>(
      'VerifyOTPEmailRegistration',
      verifyOTPEmailRegistration_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.VerifyOTPEmailRegistrationRequest.fromBuffer(value),
      ($0.VerifyOTPEmailRegistrationResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.RemoveOTPEmailAuthenticatorRequest,
          $0.RemoveOTPEmailAuthenticatorResponse>(
      'RemoveOTPEmailAuthenticator',
      removeOTPEmailAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RemoveOTPEmailAuthenticatorRequest.fromBuffer(value),
      ($0.RemoveOTPEmailAuthenticatorResponse 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.GetIdentityProviderIntentRequest,
          $0.GetIdentityProviderIntentResponse>(
      'GetIdentityProviderIntent',
      getIdentityProviderIntent_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.GetIdentityProviderIntentRequest.fromBuffer(value),
      ($0.GetIdentityProviderIntentResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.AddIDPAuthenticatorRequest,
          $0.AddIDPAuthenticatorResponse>(
      'AddIDPAuthenticator',
      addIDPAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.AddIDPAuthenticatorRequest.fromBuffer(value),
      ($0.AddIDPAuthenticatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.RemoveIDPAuthenticatorRequest,
          $0.RemoveIDPAuthenticatorResponse>(
      'RemoveIDPAuthenticator',
      removeIDPAuthenticator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RemoveIDPAuthenticatorRequest.fromBuffer(value),
      ($0.RemoveIDPAuthenticatorResponse value) => value.writeToBuffer()));
}