Dispatcher::getSecurityToken PHP Method

getSecurityToken() protected method

We do this by giving the token a separate name. Don't manually reset() this token, that will cause issues when people have several tabs open. The token will be recreated when the user session times out.
protected getSecurityToken ( ) : SecurityToken
return SecurityToken
    protected function getSecurityToken()
    {
        return new \SecurityToken(self::SECURITY_TOKEN_NAME);
    }