mozilla/sauropod — pull request #16 by rfk (2011-12-07 12:52:29+00:00)
Title: add dummy browserid verification function.

Per https://bugzilla.mozilla.org/show_bug.cgi?id=708088, we need a way to stub out verification during load tests and other testing scenarios. This adds a simple dummy verification function that extracts the data from the assertion without verifying it.

We also need some way to switch this on for test servers and off for production.

(eventually we should use a lloyd's node-browserid library to take care of all these details, but this is a start)