mozilla/django-browserid — pull request #15 by Osmose (2011-12-08 18:01:13+00:00)
Title: Move verify out of backend, shift other things around

Main motivation for this change was to move verify out of the backend class, as it has no dependencies on the class and is rather useful as a standalone function.

This moves `verify` to base.py, `get_audience` to util.py, and exposes both, as well as the auth backend, under the `django_browserid` package. Tests are updated to match this.

The downside to this is that it might break existing apps using the library. but I'm pretty sure anyone who is so bleeding edge as to use django_browserid already is willing to make a few small API changes.