src/Session.php
public function validateCsrfToken($token) {
		return (
			isset($_SESSION[$this->csrfTokenSessionKey])
			&& $_SESSION[$this->csrfTokenSessionKey] === $token
		);
	}
public function validateCsrfToken($token) {
		return (
			isset($_SESSION[$this->csrfTokenSessionKey])
			&& $_SESSION[$this->csrfTokenSessionKey] === $token
		);
	}
public function validateCsrfToken ( $ token ) { return ( isset ( $ _SESSION [ $ this -> csrfTokenSessionKey ] ) && $ _SESSION [ $ this -> csrfTokenSessionKey ] === $ token ) ; }
Validate with the token stored in session.

@param string $token
@return bool
Validate with the token stored in session .