2017 © Pedro Peláez
 

library auth-openid-connect

Simple OpenID Connect library

image

con-troll/auth-openid-connect

Simple OpenID Connect library

  • Monday, August 14, 2017
  • by guss77
  • Repository
  • 2 Watchers
  • 3 Stars
  • 515 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 145 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PHP OpenID Connect Client

A relatively simple library that allows an application to authenticate a user through the basic OpenID Connect flow. This is a fork of the OpenID-ConnectP-PHP library by Michael Jett, but extends it to allow finer manipulation of the protocol to allow the HTTP rediret to be handled differently then throwing a 302 Redirect from within the library., (*1)

Requirements

  1. PHP 5.6 or greater
  2. CURL extension
  3. JSON extension

Example 1: Basic Client

$oidc = new OpenIDConnectClient('https://id.provider.com/',
                                'ClientIDHere',
                                'ClientSecretHere');

$url = $oidc->getAuthorizationURL();
// send the client to complete the login
// ...
// capture the authentication token from the callback into $code
$oidc->complete($code);
$name = $oidc->requestUserInfo('given_name');

The Versions

14/08 2017

dev-master

9999999-dev

Simple OpenID Connect library

  Sources   Download

Apache-2.0

The Requires

 

by Itai Ben-Ivri

03/08 2017

dev-develop

dev-develop

Simple OpenID Connect library

  Sources   Download

Apache-2.0

The Requires

 

by Itai Ben-Ivri

09/06 2017

1.1.0

1.1.0.0

Simple OpenID Connect library

  Sources   Download

Apache-2.0

The Requires

 

by Itai Ben-Ivri

14/02 2016

1.0.0

1.0.0.0

Simple OpenID Connect library

  Sources   Download

Apache-2.0

The Requires

 

by Itai Ben-Ivri

14/02 2016

0.99.0

0.99.0.0

Simple OpenID Connect library

  Sources   Download

Apache-2.0

The Requires

 

by Itai Ben-Ivri