ss
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -246,7 +246,9 @@ public function isGoogleFolderCreated($cust_id) | ... | @@ -246,7 +246,9 @@ public function isGoogleFolderCreated($cust_id) |
| 246 | echo "<a class='logout' href='?logout'>Logout</a>"; | 246 | echo "<a class='logout' href='?logout'>Logout</a>"; |
| 247 | $authUrl = $client->createAuthUrl(); | 247 | $authUrl = $client->createAuthUrl(); |
| 248 | print "<a class='login' href='$authUrl'>Connect Me!</a>"; | 248 | print "<a class='login' href='$authUrl'>Connect Me!</a>"; |
| 249 | if(isset( $token->access_token)){ | ||
| 249 | echo "Access Token = " . $token->access_token . '<br/>'; | 250 | echo "Access Token = " . $token->access_token . '<br/>'; |
| 251 | } | ||
| 250 | echo "Refresh Token = " . $token->refresh_token . '<br/>'; | 252 | echo "Refresh Token = " . $token->refresh_token . '<br/>'; |
| 251 | echo "Token type = " . $token->token_type . '<br/>'; | 253 | echo "Token type = " . $token->token_type . '<br/>'; |
| 252 | echo "Expires in = " . $token->expires_in . '<br/>'; | 254 | echo "Expires in = " . $token->expires_in . '<br/>'; | ... | ... |
-
Please register or sign in to post a comment