You are here

public function OpenIDConnectSessionInterface::saveStateToken in OpenID Connect / OAuth client 2.x

Save the state token in the session.

Parameters

string $token: The state token.

1 method overrides OpenIDConnectSessionInterface::saveStateToken()
OpenIDConnectSession::saveStateToken in src/OpenIDConnectSession.php
Save the state token in the session.

File

src/OpenIDConnectSessionInterface.php, line 108

Class

OpenIDConnectSessionInterface
Creates and validates state tokens.

Namespace

Drupal\openid_connect

Code

public function saveStateToken(string $token);