Browse Source

add client_secret sample for examples and tests

master
victor héry 6 years ago
parent
commit
a5dc43654a
2 changed files with 15 additions and 0 deletions
  1. +12
    -0
      client_secret.json.sample
  2. +3
    -0
      ptyt_upload.py

+ 12
- 0
client_secret.json.sample 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
- 0
ptyt_upload.py View File

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

Loading…
Cancel
Save