class StateToken in OpenID Connect / OAuth client 8
Class StateToken.
Hierarchy
- class \Drupal\openid_connect\OpenIDConnectStateToken implements OpenIDConnectStateTokenInterface
- class \Drupal\openid_connect\StateToken
Expanded class hierarchy of StateToken
Deprecated
in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. You should implement Drupal\openid_connect\OpenIDConnectStateToken instead.
See also
https://www.drupal.org/project/openid_connect/issues/2960886
File
- src/
StateToken.php, line 14
Namespace
Drupal\openid_connectView source
class StateToken extends OpenIDConnectStateToken {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OpenIDConnectStateToken:: |
public static | function |
Confirms anti-forgery state token. Overrides OpenIDConnectStateTokenInterface:: |
|
OpenIDConnectStateToken:: |
public static | function |
Creates a state token and stores it in the session for later validation. Overrides OpenIDConnectStateTokenInterface:: |