protected function checkToken($token)
    {
        if (!array_key_exists($token, $this->tokens)) {
            throw new TokenNotFoundException($token, get_called_class());
        }

        return $this->tokens[$token];
    }