refactor deprecated methodes
This commit is contained in:
1 parent
4b6ba3e661
commit
670a76807c
3 files changed
+15
-6
No files matched your search
@@ -245,6 +245,14 @@ class KeycloakBearerUser implements UserInterface, \Serializable
|
||||
return $this->preferred_username;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUserIdentifier(): string
|
||||
{
|
||||
return $this->preferred_username;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes sensitive data from the user.
|
||||
*
|
||||
@@ -298,4 +306,4 @@ class KeycloakBearerUser implements UserInterface, \Serializable
|
||||
$this->accessToken
|
||||
) = unserialize($serialized, ['allowed_classes' => false]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user