Skip to content

Commit

Permalink
Merge pull request #9 from uiowa/d10_version
Browse files Browse the repository at this point in the history
Update uiowa_auth for Drupal 10
  • Loading branch information
joewhitsitt authored Sep 18, 2023
2 parents 83c54a4 + 8a70048 commit e2e8de6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/EventSubscriber/ExternalAuthSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Drupal\uiowa_auth\EventSubscriber;

use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\externalauth\Authmap;
use Drupal\externalauth\Event\ExternalAuthEvents;
use Drupal\externalauth\Event\ExternalAuthLoginEvent;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\samlauth\SamlService;
use Drupal\uiowa_auth\RoleMappings;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Psr\Log\LoggerInterface;
use Drupal\samlauth\SamlService;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
* The uiowa event subscriber.
Expand Down
6 changes: 3 additions & 3 deletions src/EventSubscriber/SamlauthSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace Drupal\uiowa_auth\EventSubscriber;

use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\externalauth\Authmap;
use Drupal\externalauth\Exception\ExternalAuthRegisterException;
use Drupal\samlauth\Event\SamlauthEvents;
use Drupal\samlauth\Event\SamlauthUserSyncEvent;
use Drupal\samlauth\Event\SamlauthUserLinkEvent;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\samlauth\Event\SamlauthUserSyncEvent;
use Drupal\uiowa_auth\RoleMappings;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
* The uiowa event subscriber.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/ExternalauthSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Drupal\Tests\uiowa_auth\Kernel;

use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\uiowa_auth\EventSubscriber\ExternalAuthSubscriber;
use Drupal\user\Entity\User;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;

/**
* Test description.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/HawkIDSettingsFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Drupal\Tests\uiowa_auth\Kernel;

use Drupal\Core\Form\FormState;
use Drupal\uiowa_auth\Form\HawkIDSettingsForm;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\uiowa_auth\Form\HawkIDSettingsForm;

/**
* Test the HawkID settings form.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/SamlauthSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Drupal\Tests\uiowa_auth\Kernel;

use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\uiowa_auth\EventSubscriber\SamlauthSubscriber;
use Drupal\user\Entity\User;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;

/**
* Test description.
Expand Down
2 changes: 1 addition & 1 deletion uiowa_auth.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: UIowa Authentication
type: module
description: Disables Drupal authentication and implements HawkID SSO.
package: University of Iowa
core_version_requirement: ^8 || ^9
core_version_requirement: ^8 || ^9 || ^10
dependencies:
- samlauth:samlauth
- externalauth:externalauth

0 comments on commit e2e8de6

Please sign in to comment.