diff --git a/includes/openid-connect-generic-client-wrapper.php b/includes/openid-connect-generic-client-wrapper.php index d12794c..f96bd67 100644 --- a/includes/openid-connect-generic-client-wrapper.php +++ b/includes/openid-connect-generic-client-wrapper.php @@ -31,10 +31,12 @@ class OpenID_Connect_Generic_Client_Wrapper { /** * Hook the client into WP - * + * * @param \OpenID_Connect_Generic_Client $client * @param \WP_Option_Settings $settings * @param \WP_Option_Logger $logger + * + * @return \OpenID_Connect_Generic_Client_Wrapper */ static public function register( OpenID_Connect_Generic_Client $client, WP_Option_Settings $settings, WP_Option_Logger $logger ){ $client_wrapper = new self( $client, $settings, $logger ); @@ -441,4 +443,4 @@ class OpenID_Connect_Generic_Client_Wrapper { return $user; } -} \ No newline at end of file +} diff --git a/openid-connect-generic.php b/openid-connect-generic.php index 2280962..01fe328 100644 --- a/openid-connect-generic.php +++ b/openid-connect-generic.php @@ -3,7 +3,7 @@ Plugin Name: OpenID Connect - Generic Client Plugin URI: https://github.com/daggerhart/openid-connect-generic Description: Connect to an OpenID Connect identity provider with Authorization Code Flow -Version: 3.0.2 +Version: 3.0.3 Author: daggerhart Author URI: http://www.daggerhart.com License: GPLv2 Copyright (c) 2015 daggerhart @@ -37,7 +37,7 @@ Notes class OpenID_Connect_Generic { // plugin version - const VERSION = '3.0.1'; + const VERSION = '3.0.3'; // plugin settings private $settings; @@ -201,4 +201,4 @@ class OpenID_Connect_Generic { } } -OpenID_Connect_Generic::bootstrap(); \ No newline at end of file +OpenID_Connect_Generic::bootstrap(); diff --git a/readme.md b/readme.md index 787fd65..89c81eb 100644 --- a/readme.md +++ b/readme.md @@ -33,6 +33,13 @@ Replace `example.com` with your domain name and path to WordPress. ### Changelog + +**3.0.3** + +* Using WordPresss's is_ssl() for setcookie()'s "secure" parameter +* Bug fix: Incrementing username in case of collision. +* Bug fix: Wrong error sent when missing token body + **3.0.2** * Added http_request_timeout setting diff --git a/readme.txt b/readme.txt index e07ed49..5d648bc 100644 --- a/readme.txt +++ b/readme.txt @@ -40,6 +40,20 @@ Replace `example.com` with your domain name and path to WordPress. == Changelog == += 3.0.3 = + +* Using WordPresss's is_ssl() for setcookie()'s "secure" parameter +* Bug fix: Incrementing username in case of collision. +* Bug fix: Wrong error sent when missing token body + += 3.0.2 = + +* Added http_request_timeout setting + += 3.0.1 = + +* Finalizing 3.0.x api + = 3.0 = * Complete rewrite to separate concerns