Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/python-gdata/examples/oauth/oauth_on_appengine/ drwxr-xr-x |
Viewing file: Select action/file-type: NOTE: main_hmac.py and main_rsa.py are the same sample. The difference is the signature method used. Both samples require that you register your web application to obtain a consumer key/secret. To run main_hmac.py: - Register your web application as described here: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html - In main_hmac.py, change SETTINGs['CONSUMER_KEY'] and SETTINGs['CONSUMER_SECRET'] to your own values provided in https://www.google.com/accounts/ManageDomains To run main_rsa.py: - change 'main_hmac.py' to 'main_rsa.py' in app.yaml - Generate a self signing private key/certificate pair as described here: http://code.google.com/apis/gdata/oauth.html#GeneratingKeyCert - Register your web application as described here: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html Use https://www.google.com/accounts/ManageDomains to upload your certicate file. - In main_rsa.py, change the f = open('/path/to/your/rsa_private_key.pem') line to point to your .pem generated from the previous step. Make sure the file is readable by your webserver. Also change SETTINGs['CONSUMER_KEY'] to your own value found in https://www.google.com/accounts/ManageDomains. This value is typically your domain. |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0084 ]-- |