Skip to content

opauth/openid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opauth-OpenID

Opauth strategy for OpenID.

Opauth is a multi-provider authentication framework for PHP.

Getting started

  1. Install Opauth-OpenID:

    cd path_to_opauth/Strategy
    git clone git://github.com/opauth/openid.git OpenID

    or

    composer require opauth/openid
    
  2. Configure Opauth-OpenID strategy. (see next section)

  3. Direct user to http://path_to_opauth/openid to 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)