Last active
August 19, 2020 20:50
-
-
Save Sytten/74d0a5134a551c6bf8eb91b0a3739dd8 to your computer and use it in GitHub Desktop.
contacts-client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const client = new google.auth.OAuth2( | |
CLIENT_ID, | |
CLIENT_SECRET, | |
CALLBACK_URL | |
) | |
client.setCredentials({ | |
access_token: "SomeAccessToken", | |
expiry_date: new Date('2020-08-20T10:00:00') | |
refresh_token: "SomeRefreshToken", | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment