Add support for X-GOOGLE-TOKEN.

This is mainly just useful for authenticating without using TLS.

If an access token is not provided, an attempt will be made to
retrieve one from Google.
This commit is contained in:
Lance Stout
2012-01-21 00:44:03 -08:00
parent f81fb6af44
commit 25f87607aa
3 changed files with 80 additions and 1 deletions

View File

@@ -58,4 +58,4 @@ class PLAIN(Mechanism):
return True
register_mechanism('PLAIN', 1, PLAIN, use_hashes=False)
register_mechanism('PLAIN', 5, PLAIN, use_hashes=False)