|
|
|
@ -1,12 +1,28 @@
|
|
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
Plugin Name: OpenID Connect Generic
|
|
|
|
|
Plugin URI: https://github.com/daggerhart/openid-connect-generic
|
|
|
|
|
Description: Connect to an OpenID Connect generic client using Authorization Code Flow
|
|
|
|
|
Version: 3.6.0
|
|
|
|
|
Author: daggerhart
|
|
|
|
|
Author URI: http://www.daggerhart.com
|
|
|
|
|
License: GPLv2 Copyright (c) 2015 daggerhart
|
|
|
|
|
/**
|
|
|
|
|
* OpenID Connect Generic Client
|
|
|
|
|
*
|
|
|
|
|
* This plugin provides the ability to authenticate users with Identity
|
|
|
|
|
* Providers using the OpenID Connect OAuth2 API with Authorization Code Flow.
|
|
|
|
|
*
|
|
|
|
|
* @category Authentication
|
|
|
|
|
* @package OpenID_Connect_Generic
|
|
|
|
|
* @author Jonathan Daggerhart <jonathan@daggerhart.com>
|
|
|
|
|
* @author Tim Nolte <tim.nolte@ndigitals.com>
|
|
|
|
|
* @copyright 2015-2020 daggerhart
|
|
|
|
|
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
|
|
|
|
|
* @link https://github.com/daggerhart
|
|
|
|
|
*
|
|
|
|
|
* @wordpress-plugin
|
|
|
|
|
* Plugin Name: OpenID Connect Generic
|
|
|
|
|
* Plugin URI: https://github.com/daggerhart/openid-connect-generic
|
|
|
|
|
* Description: Connect to an OpenID Connect generic client using Authorization Code Flow.
|
|
|
|
|
* Version: 3.6.0
|
|
|
|
|
* Author: daggerhart
|
|
|
|
|
* Author URI: http://www.daggerhart.com
|
|
|
|
|
* License: GPL-2.0+
|
|
|
|
|
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
|
|
|
|
* GitHub Plugin URI: https://github.com/daggerhart/openid-connect-generic
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -50,7 +66,7 @@ Notes
|
|
|
|
|
|
|
|
|
|
class OpenID_Connect_Generic {
|
|
|
|
|
// plugin version
|
|
|
|
|
const VERSION = '3.6.0';
|
|
|
|
|
const VERSION = '3.7.0';
|
|
|
|
|
|
|
|
|
|
// plugin settings
|
|
|
|
|
private $settings;
|
|
|
|
|