The session metadata bag. Type:
The private key service. Type:
public CsrfTokenGenerator::get($value = '')
public CsrfTokenGenerator::validate($token, $value = '')
Generates and validates CSRF tokens. Hierarchy class \Drupal\Core\Access\
public CsrfTokenGenerator::__construct(PrivateKey $private_key
protected CsrfTokenGenerator::computeToken($seed, $value = '')