Python library for the Verified Email Protocol
Project description
This is a python client library for the Verified Email Protocol, a.k.a Mozilla’s BrowserID project. See here for details:
And see here for how to integrate it into your website:
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.
0.1 - 2011-11-23
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PyVEP-0.1.0.tar.gz
.
File metadata
- Download URL: PyVEP-0.1.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb9234648ac8bf91b5c141e91f60627e3da110d4578e78765e5021ec37a1f72 |
|
MD5 | 03184b1f48e4abea099d40f6354f65b1 |
|
BLAKE2b-256 | 921b4367de8604e6ac47799dd091b9558fc162a06daee3981d483b93c607dd9c |