echo $service->revokeAccessToken();
            break;
    }
}
if (isset($_GET['code'])) {
    // retrieve access token from endpoint
    $service->getAccessToken();
}
$token = $dataStore->retrieveAccessToken();
?>
<html>
    <head>
    </head>
    <body>
        Consumer Key: <input type="text" id="consumer-key" value="<?php 
echo $client->getClientKey();
?>
" /><br />
        Consumer Secret: <input type="text" id="consumer-secret" value="<?php 
echo $client->getClientSecret();
?>
" /><br />
        Access Token: <input type="text" id="access-token" value="<?php 
echo $token->getAccessToken();
?>
" /><br />
        Refresh Token: <input type="text" id="refresh-token" value="<?php 
echo $token->getRefreshToken();
?>
" /><br />
        LifeTime: <input type="text" id="lifetime" value="<?php