Skip to content
Snippets Groups Projects
Commit 3a0e46f0 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Rename from keycloack-bundle to auth-bundle

We want this bundle to work with all kind of OIDC servers in the future.

Fixes #2
parent 2652e799
Branches
Tags v0.1.2
No related merge requests found
Pipeline #57303 passed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests; namespace Dbp\Relay\AuthBundle\Tests;
use Dbp\Relay\CoreBundle\API\UserSessionInterface; use Dbp\Relay\CoreBundle\API\UserSessionInterface;
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests; namespace Dbp\Relay\AuthBundle\Tests;
use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle; use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle;
use Dbp\Relay\AuthBundle\DbpRelayAuthBundle;
use Dbp\Relay\CoreBundle\DbpRelayCoreBundle; use Dbp\Relay\CoreBundle\DbpRelayCoreBundle;
use Dbp\Relay\KeycloakBundle\DbpRelayKeycloakBundle;
use Nelmio\CorsBundle\NelmioCorsBundle; use Nelmio\CorsBundle\NelmioCorsBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
...@@ -28,7 +28,7 @@ class Kernel extends BaseKernel ...@@ -28,7 +28,7 @@ class Kernel extends BaseKernel
yield new TwigBundle(); yield new TwigBundle();
yield new NelmioCorsBundle(); yield new NelmioCorsBundle();
yield new ApiPlatformBundle(); yield new ApiPlatformBundle();
yield new DbpRelayKeycloakBundle(); yield new DbpRelayAuthBundle();
yield new DbpRelayCoreBundle(); yield new DbpRelayCoreBundle();
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests; namespace Dbp\Relay\AuthBundle\Tests;
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase; use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase;
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase; use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase;
use Dbp\Relay\KeycloakBundle\Keycloak\KeycloakBearerAuthenticator; use Dbp\Relay\AuthBundle\Keycloak\KeycloakBearerAuthenticator;
use Dbp\Relay\KeycloakBundle\Keycloak\KeycloakBearerUser; use Dbp\Relay\AuthBundle\Keycloak\KeycloakBearerUser;
use Dbp\Relay\KeycloakBundle\Tests\DummyUserProvider; use Dbp\Relay\AuthBundle\Tests\DummyUserProvider;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase; use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase;
use Dbp\Relay\KeycloakBundle\Keycloak\KeycloakBearerUserProvider; use Dbp\Relay\AuthBundle\Keycloak\KeycloakBearerUserProvider;
use Dbp\Relay\KeycloakBundle\Tests\DummyUserSession; use Dbp\Relay\AuthBundle\Tests\DummyUserSession;
class KeycloakBearerUserProviderTest extends ApiTestCase class KeycloakBearerUserProviderTest extends ApiTestCase
{ {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use Dbp\Relay\KeycloakBundle\Keycloak\KeycloakBearerUser; use Dbp\Relay\AuthBundle\Keycloak\KeycloakBearerUser;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
class KeycloakBearerUserTest extends TestCase class KeycloakBearerUserTest extends TestCase
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use Dbp\Relay\KeycloakBundle\Keycloak\Keycloak; use Dbp\Relay\AuthBundle\Keycloak\Keycloak;
use Dbp\Relay\KeycloakBundle\Keycloak\KeycloakLocalTokenValidator; use Dbp\Relay\AuthBundle\Keycloak\KeycloakLocalTokenValidator;
use Dbp\Relay\KeycloakBundle\Keycloak\TokenValidationException; use Dbp\Relay\AuthBundle\Keycloak\TokenValidationException;
use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack; use GuzzleHttp\HandlerStack;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use Dbp\Relay\KeycloakBundle\Keycloak\Keycloak; use Dbp\Relay\AuthBundle\Keycloak\Keycloak;
use Dbp\Relay\KeycloakBundle\Keycloak\KeycloakRemoteTokenValidator; use Dbp\Relay\AuthBundle\Keycloak\KeycloakRemoteTokenValidator;
use Dbp\Relay\KeycloakBundle\Keycloak\TokenValidationException; use Dbp\Relay\AuthBundle\Keycloak\TokenValidationException;
use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack; use GuzzleHttp\HandlerStack;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use Dbp\Relay\KeycloakBundle\Keycloak\Keycloak; use Dbp\Relay\AuthBundle\Keycloak\Keycloak;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
class KeycloakTest extends TestCase class KeycloakTest extends TestCase
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
declare(strict_types=1); declare(strict_types=1);
namespace Dbp\Relay\KeycloakBundle\Tests\Keycloak; namespace Dbp\Relay\AuthBundle\Tests\Keycloak;
use Dbp\Relay\KeycloakBundle\Service\KeycloakUserSession; use Dbp\Relay\AuthBundle\Service\KeycloakUserSession;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment