Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
python client library for the Verified Email Protocol (aka "BrowserID")
Python
tag: 0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
vep
.gitignore
CHANGES.txt
MANIFEST.in
README.rst
setup.py

README.rst

PyVEP: a python library for the Verified Email Protocol

This is a python client library for the Verified Email Protocol, a.k.a Mozilla's BrowserID project. See here for details:

https://wiki.mozilla.org/Identity/Verified_Email_Protocol

And see here for how to integrate it into your website:

https://browserid.org/

To just get something stable and working, it's currently recommended that you use the browserid.org remote verifier service to check your assertions. Do so like this:

>>> verifier = vep.RemoteVerifier()
>>> data = verifier.verify(BROWSERIDASSERTION, "http://mysite.com")
>>> print data["email"]
"test@example.com"

For improved performance, or if you just want to live on the bleeding edge, you can perform verification locally like so:

>>> verifier = vep.LocalVerifier()
>>> data = verifier.verify(BROWSERIDASSERTION, "http://mysite.com")
>>> print data["email"]
"test@example.com"

As the Verified Email Protocol gets locked down more firmly, using the local verifier will become the preferred method of checking VEP identity assertions.

Something went wrong with that request. Please try again.