-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from fschmtt/keycloak-25
Add support for Keycloak 25 #110
- Loading branch information
Showing
10 changed files
with
98 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG KEYCLOAK_VERSION=24.0.0 | ||
ARG KEYCLOAK_VERSION=25.0.0 | ||
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} | ||
|
||
ENTRYPOINT [ "/opt/keycloak/bin/kc.sh", "start-dev" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Fschmtt\Keycloak\Collection; | ||
|
||
use Fschmtt\Keycloak\Representation\Organization; | ||
|
||
/** | ||
* @extends Collection<Organization> | ||
* | ||
* @codeCoverageIgnore | ||
*/ | ||
class OrganizationCollection extends Collection | ||
{ | ||
public static function getRepresentationClass(): string | ||
{ | ||
return Organization::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Fschmtt\Keycloak\Collection; | ||
|
||
use Fschmtt\Keycloak\Representation\OrganizationDomain; | ||
|
||
/** | ||
* @extends Collection<OrganizationDomain> | ||
* | ||
* @codeCoverageIgnore | ||
*/ | ||
class OrganizationDomainCollection extends Collection | ||
{ | ||
public static function getRepresentationClass(): string | ||
{ | ||
return OrganizationDomain::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Fschmtt\Keycloak\Representation; | ||
|
||
use Fschmtt\Keycloak\Collection\IdentityProviderCollection; | ||
use Fschmtt\Keycloak\Collection\OrganizationDomainCollection; | ||
use Fschmtt\Keycloak\Collection\UserCollection; | ||
use Fschmtt\Keycloak\Type\Map; | ||
|
||
class Organization extends Representation | ||
{ | ||
public function __construct( | ||
protected ?string $id = null, | ||
protected ?string $name = null, | ||
protected ?bool $enabled = null, | ||
protected ?string $description = null, | ||
protected ?Map $attributes = null, | ||
protected ?OrganizationDomainCollection $domains = null, | ||
protected ?UserCollection $members = null, | ||
protected ?IdentityProviderCollection $identityProviders = null, | ||
) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Fschmtt\Keycloak\Representation; | ||
|
||
class OrganizationDomain extends Representation | ||
{ | ||
public function __construct( | ||
protected ?string $name = null, | ||
protected ?bool $verified = null, | ||
) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters