Skip to content

A simple to use Pythonic API for interfacing with Google Identity Toolkit silently -- no Javascript, no fluff, no options. Only Google is really supported, but I guess you could use whichever..

Notifications You must be signed in to change notification settings

richieforeman/google-identity-toolkit-python-silent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

##A simple Pythonic API for Google Identity Toolkit. No Javascript, No Fluff, No Options -- just Authentication.

Author: Richie Foreman [email protected]

##Usage (psuedo-code):

# Login Handler

import git_silent

git_silent.KEY = "MYAPIKEY"
auth_url = git_silent.create_auth_url()
redirect(auth_url)

# Callback Handler

uri = request_uri (get this from somewhere in your framework... self.request.uri, or similar)

assertion = git_silent.verify_assertion(requestUri=url)
print "Hello, %s %s (%s)" % (assertion["firstName"], assertion["lastName"], assertion["email"])

About

A simple to use Pythonic API for interfacing with Google Identity Toolkit silently -- no Javascript, no fluff, no options. Only Google is really supported, but I guess you could use whichever..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages