Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.
/ auth-browserid Public archive

PHP verification library for the BrowserID / Persona authentication system

License

Notifications You must be signed in to change notification settings

fmarier/auth-browserid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth-browserid

PHP verification library for the BrowserID / Persona authentication system

Installation

Since this module is not in PEAR yet, you need to copy the Auth/ directory into your application directly.

Usage

Once the library is in the right place, you can use it like this:

$verifier = new Auth_BrowserID('http://localhost:80');
$result = $verifier->verifyAssertion($_POST['assertion']);

if ($result->status === 'okay') {
    $email = $result->email;
}

See the demo application for a real-world example of how it works.

About

PHP verification library for the BrowserID / Persona authentication system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages