public function storeState(State $state)
{
if (!isset($_SESSION['php-oauth-client']['state'])) {
$_SESSION['php-oauth-client']['state'] = array();
}
array_push($_SESSION['php-oauth-client']['state'], serialize($state));
return true;
}