nagyist / opauth-openid

OpenID strategy for Opauth

Home Page:http://opauth.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

OpenID strategy for Opauth

http://opauth.org


Languages

Language:PHP 89.2%Language:HTML 10.8%