add client_secret sample for examples and tests

This commit is contained in:
victor héry 2018-02-28 10:56:53 +01:00
parent d395398595
commit a5dc43654a
2 changed files with 15 additions and 0 deletions

12
client_secret.json.sample Normal file
View file

@ -0,0 +1,12 @@
{
"installed":{
"client_id":"508404313392-4tgem869apgvn0j2f7fleoi410ofa27t.apps.googleusercontent.com",
"project_id":"ptyt-upload",
"auth_uri":"https://accounts.google.com/o/oauth2/auth",
"token_uri":"https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
"client_secret":"M3cb0DKASd-lLENn9NwsFGm1",
"redirect_uris":["urn:ietf:wg:oauth:2.0:oob",
"http://localhost"]
}
}

3
ptyt_upload.py Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/python
# coding: utf-8