Skip to content

Instantly share code, notes, and snippets.

View axansh's full-sized avatar

Axansh Sheth axansh

View GitHub Profile
@axansh
axansh / openid.php
Created July 23, 2011 08:11
OpenID library file for google
<?php
/**
* This class provides a simple interface for OpenID (1.1 and 2.0) authentication.
* Supports Yadis discovery.
* The authentication process is stateless/dumb.
*
* Usage:
* Sign-on with OpenID is a two step process:
* Step one is authentication with the provider:
* <code>