Opauth strategy for OpenID.
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-OpenID:
cd path_to_opauth/Strategy git clone git://github.com/opauth/openid.git OpenIDor
composer require opauth/openid -
Configure Opauth-OpenID strategy. (see next section)
-
Direct user to
http://path_to_opauth/openidto authenticate
Strategy configuration
Opauth-OpenID requires zero configurations. It just needs to be defined along with the list of strategies.
<?php 'OpenID' => array(),
Optional parameters:
-
required- Required OpenID attributes. -
optional- Optional OpenID attributes. -
identifier_form- complete path to HTML or PHP view renders the form requesting for OpenID identifier.
Credits
Opauth-OpenID includes Mewp's LightOpenID library.
LightOpenID library is Copyright (c) 2010, Mewp and MIT licensed.
License
Opauth-OpenID is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)