Skip to content

Commit

Permalink
[OpenIDConnect] Fix: AbstractProvider - extractIdentity must be public
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jan 29, 2020
1 parent 68186c8 commit 14d7a94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 14d7a94

Please sign in to comment.