From 14d7a94730704a4f2bdaa55a3f7b5bf48a3defd7 Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Wed, 29 Jan 2020 16:09:07 +0300 Subject: [PATCH] [OpenIDConnect] Fix: AbstractProvider - extractIdentity must be public --- AbstractProvider.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AbstractProvider.php b/AbstractProvider.php index f7264cb..00cd633 100644 --- a/AbstractProvider.php +++ b/AbstractProvider.php @@ -107,11 +107,13 @@ public function parseToken(string $body) /** * Extract data from JWT->payload and create User + * In some providers it's possible to get email/emailVerified or another data from JWT + * And due this fact it's not needed to do server request to get identity * * @param AccessTokenInterface $accessToken * @return User */ - abstract function extractIdentity(AccessTokenInterface $accessToken); + abstract public function extractIdentity(AccessTokenInterface $accessToken); /** * {@inheritDoc}