Skip to content

Commit

Permalink
Merge pull request #8 from ewaldkleefstra/dev
Browse files Browse the repository at this point in the history
fix(oidc): define called access_token property
  • Loading branch information
s-aebischer authored Dec 16, 2022
2 parents 68f6b14 + ee277ed commit 440ab34
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 440ab34

Please sign in to comment.