diff --git a/src/Adapter/Oidc.php b/src/Adapter/Oidc.php index 2a42f55..7fa3e16 100644 --- a/src/Adapter/Oidc.php +++ b/src/Adapter/Oidc.php @@ -44,6 +44,13 @@ class Oidc extends AbstractAdapter */ protected $logger; + /** + * Access token. + * + * @var string + */ + private $access_token; + /** * Init adapter. * @@ -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; }