# HG changeset patch # User Jeff Hammel # Date 1388117048 28800 # Node ID 21124b238febeb2657cb9a94cf30e3f977fd385c # Parent 9aa73d2d5aa829b6739a2b35413feeef3085d866 stub persona/browserid example diff -r 9aa73d2d5aa8 -r 21124b238feb example/persona.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/persona.html Thu Dec 26 20:04:08 2013 -0800 @@ -0,0 +1,46 @@ + + + +bistyauth Mozilla persona test page + + + + + + + + + +

+Mozilla persona +bitsyauth +test page +

+ +
+ sign in +
+ +

Resources

+ + + + diff -r 9aa73d2d5aa8 -r 21124b238feb example/persona.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/persona.py Thu Dec 26 20:04:08 2013 -0800 @@ -0,0 +1,24 @@ +#!/usr/bin/env python + +import optparse +import os +import sys + +""" +test Mozilla persona auth + +https://login.persona.org/about +""" + +here = os.path.dirname(os.path.realpath(__file__)) +page = os.path.join(here, 'persona.html') + +def main(args=sys.argv[1:]): + + usage = '%prog [options]' + parser = optparse.OptionParser(usage=usage, description=__doc__) + parser + options, args = parser.parse_args(args) + +if __name__ == '__main__': + main()