Index: docs/epy/oauth2client.crypt-module.html =================================================================== new file mode 100644 --- /dev/null +++ b/docs/epy/oauth2client.crypt-module.html @@ -0,0 +1,377 @@ + + + +
+Trees | + + +Indices | + + +Help | + ++ |
---|
+ | + +
+ |
+
+
|
+|||
+ + | + AppIdentityError + | +||
+ + |
+ Verifier + Verifies the signature on a message. + |
+ ||
+ + |
+ Signer + Signs messages with a private key. + |
+
+
|
+|||
+ + |
+
|
+ ||
+ + |
+
|
+ ||
+ + |
+
|
+ ||
+ + |
+
|
+ ||
+ + |
+
|
+
+
|
+
+
+Make a signed JWT. + +See http://self-issued.info/docs/draft-jones-json-web-token.html. + +Args: + signer: crypt.Signer, Cryptographic signer. + payload: dict, Dictionary of data to convert to JSON and then sign. + +Returns: + string, The JWT for the payload. + ++
|
+
+Verify a JWT against public certs. + +See http://self-issued.info/docs/draft-jones-json-web-token.html. + +Args: + jwt: string, A JWT. + certs: dict, Dictionary where values of public keys in PEM format. + audience: string, The audience, 'aud', that this JWT should contain. If + None then the JWT's 'aud' parameter is not verified. + +Returns: + dict, The deserialized JSON payload in the JWT. + +Raises: + AppIdentityError if any checks are failed. + ++
|
Trees | + + +Indices | + + +Help | + ++ |
---|
+ Generated by Epydoc 3.0.1 on Tue Jun 5 09:03:05 2012 + | ++ http://epydoc.sourceforge.net + | +