Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae1a996ace | ||
|
|
43399b443e | ||
|
|
727ade1a19 | ||
| 88ec7d7bb1 |
@@ -108,4 +108,4 @@ To configure keycloak to work with this bundle, [here](./Resources/docs/keycloak
|
||||
| V1.0.1 | >=4.0.0 <5.0.0 |
|
||||
| V1.1.* (uses old authentication systeme with guard) | >=5.0.0 <6.0.0 |
|
||||
| V1.2.* (uses new authentication systeme) | >=5.3.0 <6.0.0 |
|
||||
| V1.3.* | =6.0.* |
|
||||
| V1.3.* | >=6.0.0 <7.0.0 |
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ABEL\Bundle\keycloakBearerOnlyAdapterBundle\Security\User;
|
||||
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
|
||||
class KeycloakBearerUser implements UserInterface, \Serializable
|
||||
class KeycloakBearerUser implements UserInterface
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
@@ -270,7 +270,7 @@ class KeycloakBearerUser implements UserInterface, \Serializable
|
||||
* @return string the string representation of the object or null
|
||||
* @since 5.1.0
|
||||
*/
|
||||
public function serialize()
|
||||
public function __serialize()
|
||||
{
|
||||
return serialize(array(
|
||||
$this->sub,
|
||||
@@ -293,7 +293,7 @@ class KeycloakBearerUser implements UserInterface, \Serializable
|
||||
* @return void
|
||||
* @since 5.1.0
|
||||
*/
|
||||
public function unserialize($serialized)
|
||||
public function __unserialize($serialized)
|
||||
{
|
||||
list (
|
||||
$this->sub,
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "abel/keycloak-bearer-only-adapter-bundle",
|
||||
"name": "tothbt/keycloak-adapter-bundle",
|
||||
"description": "Keycloak security adapter for bearer only clients",
|
||||
"license": "MIT",
|
||||
"type": "symfony-bundle",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Abdellah Elmakhroubi",
|
||||
"email": "abdellah.elmakhroubi@gmail.com"
|
||||
"name": "Richard Toth",
|
||||
"email": "info@totbt.com"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "stable",
|
||||
"require": {
|
||||
"php": ">=7.2.5",
|
||||
"php": ">=8.3",
|
||||
"symfony/config": "^6.0",
|
||||
"symfony/dependency-injection": "^6.0",
|
||||
"symfony/http-kernel": "^6.0",
|
||||
"symfony/security-bundle": "^6.0",
|
||||
"guzzlehttp/guzzle": "^6.3",
|
||||
"guzzlehttp/guzzle": "^7",
|
||||
"ext-json": "*"
|
||||
},
|
||||
"autoload": {
|
||||
|
||||
Reference in New Issue
Block a user