public function OpenIDConnectSession::saveAccessToken in OpenID Connect / OAuth client 2.x
Save the access token in the session.
Parameters
string $token: The access token.
Overrides OpenIDConnectSessionInterface::saveAccessToken
File
- src/
OpenIDConnectSession.php, line 169
Class
- OpenIDConnectSession
- Session service of the OpenID Connect module.
Namespace
Drupal\openid_connectCode
public function saveAccessToken(string $token) {
$this->session
->set('openid_connect_access', $token);
}