opauth/openid

OpenID strategy for Opauth

0.1.0 2012-06-08 07:00 UTC

This package is not auto-updated.

Last update: 2024-09-29 23:16:41 UTC


README

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)