Skip to content

Commit

Permalink
fix(oidc): define called access_token property
Browse files Browse the repository at this point in the history
  • Loading branch information
Ewald Kleefstra committed Dec 16, 2022
1 parent 68f6b14 commit ee277ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Adapter/Oidc.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ class Oidc extends AbstractAdapter
*/
protected $logger;

/**
* Access token.
*
* @var string
*/
private $access_token;

/**
* Init adapter.
*
Expand Down Expand Up @@ -239,6 +246,7 @@ protected function verifyToken(string $token): ?array
$this->logger->debug('successfully verified oauth2 access token via authorization server', [
'category' => get_class($this),
]);
$this->access_token = $token;

return $attributes;
}
Expand Down

0 comments on commit ee277ed

Please sign in to comment.