Bolt\AccessControl\AccessChecker::checkSessionStored PHP Method

checkSessionStored() protected method

Check the stored session, if we're past expiry then return false regardless and force a check/update from the database authentication record.
protected checkSessionStored ( Token $sessionAuth ) : boolean
$sessionAuth Bolt\AccessControl\Token\Token
return boolean
    protected function checkSessionStored(Token\Token $sessionAuth)
    {
        if (time() - $sessionAuth->getChecked() > 600) {
            return false;
        }
        return $this->checkSessionKeys($sessionAuth);
    }