Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8f61dcd001

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Demos
Octocat-spinner-32 Docs ported https://github.com/thinkphp/browserID-MooTools to jquery January 14, 2013
Octocat-spinner-32 Source
Octocat-spinner-32 README.md
README.md

BrowserID

This is a jQuery client library for the BrowserID Protocol. BrowserID is a new way for users to log into web sites using their email address. It aims to provide a secure way of proving your identity to servers across the internet, without having to create separate usernames and passwords each time. Instead of a new username, it uses your email address as you identity which allows it to be descentralized since anyone can send you an email verification message.

Screenshot

DEMO

How to Use

Include the BrowserID include.js library in your site by adding the following script tags to your pages:

<script>navigator.id || document.write('<script src="https://browserid.org/include.js"><\/script>')</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="jquery.browserid.js"></script>

Adding a login button:

<button id="login">LOGIN</button>

on DOM ready initiate

$('<your button element>').browserid([options]);

Arguments:

  • options object - The options for the BrowserID instance.

Example options :

   var options = {
    onlogin : function(response){ ... },
    onfail : function(response){ ... },
    onlogout : function(response){ ... },
    server : 'login.php' /* this is the verifier server url - attached in login.php */
}

References:

Something went wrong with that request. Please try again.