Changeset 2714950
- Timestamp:
- 04/26/2022 03:10:11 PM (4 years ago)
- Location:
- authress
- Files:
-
- 25 edited
- 1 copied
-
assets/readme.txt (modified) (1 diff)
-
tags/0.2.70 (copied) (copied from authress/trunk)
-
tags/0.2.70/Authress_Sso_Login.php (modified) (2 diffs)
-
tags/0.2.70/lib/Authress_Sso_Login_LoginManager.php (modified) (2 diffs)
-
tags/0.2.70/lib/Authress_Sso_Login_Users.php (modified) (4 diffs)
-
tags/0.2.70/lib/Authress_Sso_Login_UsersRepo.php (modified) (1 diff)
-
tags/0.2.70/readme.txt (modified) (1 diff)
-
tags/0.2.70/templates/authress-login-form.php (modified) (1 diff)
-
tags/0.2.70/vendor/autoload.php (modified) (1 diff)
-
tags/0.2.70/vendor/composer/InstalledVersions.php (modified) (2 diffs)
-
tags/0.2.70/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/0.2.70/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/0.2.70/vendor/composer/installed.php (modified) (2 diffs)
-
tags/0.2.70/wordpress/readme.txt (modified) (1 diff)
-
trunk/Authress_Sso_Login.php (modified) (2 diffs)
-
trunk/lib/Authress_Sso_Login_LoginManager.php (modified) (2 diffs)
-
trunk/lib/Authress_Sso_Login_Users.php (modified) (4 diffs)
-
trunk/lib/Authress_Sso_Login_UsersRepo.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/templates/authress-login-form.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/wordpress/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
authress/assets/readme.txt
r2714857 r2714950 5 5 Requires PHP: 7.4 6 6 Tested up to: 5.9.1 7 Stable tag: 0.2. 697 Stable tag: 0.2.70 8 8 License: Apache-2.0 9 9 License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE -
authress/tags/0.2.70/Authress_Sso_Login.php
r2714857 r2714950 4 4 Plugin URI: https://wordpress.org/plugins/authress 5 5 Description: Upgrades the WordPress login to support SSO Login. 6 Version: 0.2. 696 Version: 0.2.70 7 7 Author: Authress 8 8 Author URI: https://authress.io … … 11 11 */ 12 12 13 define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2. 69' );13 define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2.70' ); 14 14 15 15 define( 'AUTHRESS_SSO_LOGIN_PLUGIN_FILE', __FILE__ ); -
authress/tags/0.2.70/lib/Authress_Sso_Login_LoginManager.php
r2714827 r2714950 210 210 } 211 211 } 212 213 wp_update_user(214 (object) [215 'ID' => $user->data->ID,216 'user_email' => $userinfo->email,217 'description' => $description,218 ]219 );220 212 } 221 213 214 $updater = new Authress_Sso_Login_UsersRepo( $this->a0_options ); 215 $user_id = $updater->update($user->data->ID, $userinfo); 222 216 $this->users_repo->update_authress_object( $user->data->ID, $userinfo ); 223 217 $this->do_login( $user); … … 279 273 */ 280 274 public function logout() { 281 authress_debug_log('=> LoginManager.logout ');275 authress_debug_log('=> LoginManager.logout ' . wp_parse_url(get_site_url())['host']); 282 276 283 277 if (!isset($_COOKIE['user']) && !isset($_COOKIE['authorization'])) { -
authress/tags/0.2.70/lib/Authress_Sso_Login_Users.php
r2690169 r2714950 1 1 <?php 2 2 class Authress_Sso_Login_Users { 3 4 3 /** 5 4 * Create a WordPress user with Authress data. … … 9 8 * @return int|WP_Error 10 9 */ 11 public static function create_user( $userinfo) {10 public static function create_user($userinfo) { 12 11 $email = null; 13 12 if ( isset( $userinfo->email ) ) { … … 15 14 } 16 15 if ( empty( $email ) ) { 17 $email = ' change_this_email@' . uniqid() . '.com';16 $email = 'user-' . $userinfo->sub . '-' . uniqid() . '@' . wp_parse_url(get_site_url())['host']; 18 17 } 19 18 … … 76 75 'last_name' => $lastname, 77 76 'display_name' => $username, 78 'description' => $description ,77 'description' => $description 79 78 ]; 80 79 81 80 // Update the user 82 81 $user_id = wp_insert_user( $user_data ); 82 return $user_id; 83 } 83 84 84 if ( ! is_numeric( $user_id ) ) { 85 return $user_id; 85 /** 86 * Create a WordPress user with Authress data. 87 * 88 * @param object $ID - WordPress userId 89 * @param object $userinfo - User profile data from Authress. 90 * 91 */ 92 public static function update_user($ID, $userinfo) { 93 authress_debug_log('=> Authress_Sso_Login_Users.update_user()'); 94 $email = null; 95 if ( isset( $userinfo->email ) ) { 96 $email = $userinfo->email; 86 97 } 87 98 88 // Return the user ID 89 return $user_id; 99 $firstname = ''; 100 $lastname = ''; 101 102 if ( isset( $userinfo->name ) ) { 103 // Split the name into first- and lastname 104 $names = explode( ' ', $userinfo->name ); 105 106 if ( count( $names ) === 1 ) { 107 $firstname = $userinfo->name; 108 } elseif ( count( $names ) === 2 ) { 109 $firstname = $names[0]; 110 $lastname = $names[1]; 111 } else { 112 $lastname = array_pop( $names ); 113 $firstname = implode( ' ', $names ); 114 } 115 } 116 117 $username = ''; 118 if ( isset( $userinfo->username ) ) { 119 $username = $userinfo->username; 120 } elseif ( isset( $userinfo->nickname ) ) { 121 $username = $userinfo->nickname; 122 } 123 if ( empty( $username ) ) { 124 $username = $email; 125 } 126 while ( username_exists( $username ) ) { 127 $username = $username . wp_rand( 0, 9 ); 128 } 129 130 $description = ''; 131 132 if ( empty( $description ) ) { 133 if ( isset( $userinfo->headline ) ) { 134 $description = $userinfo->headline; 135 } 136 if ( isset( $userinfo->description ) ) { 137 $description = $userinfo->description; 138 } 139 if ( isset( $userinfo->bio ) ) { 140 $description = $userinfo->bio; 141 } 142 if ( isset( $userinfo->about ) ) { 143 $description = $userinfo->about; 144 } 145 } 146 147 $updatedUserObject = (object) [ 148 'ID' => $ID 149 ]; 150 151 if ( isset( $email ) ) { 152 $updatedUserObject->user_email = $email; 153 } 154 155 // Should we force updating the user attributes to sync from the source? Or let the user change their name here? 156 // if ( isset( $firstname ) ) { 157 // $updatedUserObject->first_name = $firstname; 158 // } 159 // if ( isset( $lastname ) ) { 160 // $updatedUserObject->last_name = $lastname; 161 // } 162 // if ( isset( $description ) ) { 163 // $updatedUserObject->description = $description; 164 // } 165 166 // Update the user 167 authress_debug_log(' wp_update_user'); 168 wp_update_user($updatedUserObject); 90 169 } 91 170 -
authress/tags/0.2.70/lib/Authress_Sso_Login_UsersRepo.php
r2690169 r2714950 27 27 public function __construct( Authress_Sso_Login_Options $a0_options ) { 28 28 $this->a0_options = $a0_options; 29 } 30 31 /** 32 * Update WP user with an incoming Authress one or reject with an exception. 33 * 34 * @param object $ID - WordPress user Id 35 * @param object $userinfo - Profile object from Authress. 36 * 37 */ 38 public function update( $ID, $userinfo ) { 39 40 $user_id = Authress_Sso_Login_Users::update_user($ID, $userinfo); 29 41 } 30 42 -
authress/tags/0.2.70/readme.txt
r2714857 r2714950 5 5 Requires PHP: 7.4 6 6 Tested up to: 5.9.1 7 Stable tag: 0.2. 697 Stable tag: 0.2.70 8 8 License: Apache-2.0 9 9 License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE -
authress/tags/0.2.70/templates/authress-login-form.php
r2690735 r2714950 163 163 } 164 164 .login #nav, .login #backtoblog { 165 padding-left: 0;166 165 display: flex; 167 166 justify-content: center; -
authress/tags/0.2.70/vendor/autoload.php
r2714857 r2714950 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de8::getLoader();7 return ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0::getLoader(); -
authress/tags/0.2.70/vendor/composer/InstalledVersions.php
r2714857 r2714950 31 31 array ( 32 32 ), 33 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',33 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 34 34 'name' => 'authress/wordpress-plugin.php', 35 35 ), … … 43 43 array ( 44 44 ), 45 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',45 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 46 46 ), 47 47 'codercat/jwk-to-pem' => -
authress/tags/0.2.70/vendor/composer/autoload_real.php
r2714857 r2714950 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de85 class ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de8', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de8', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit1 afe9346664596e887ea9103e1988de8::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire1 afe9346664596e887ea9103e1988de8($fileIdentifier, $file);61 composerRequire1653ec0cc644520eb36f0bf11e7e9ef0($fileIdentifier, $file); 62 62 } 63 63 … … 66 66 } 67 67 68 function composerRequire1 afe9346664596e887ea9103e1988de8($fileIdentifier, $file)68 function composerRequire1653ec0cc644520eb36f0bf11e7e9ef0($fileIdentifier, $file) 69 69 { 70 70 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
authress/tags/0.2.70/vendor/composer/autoload_static.php
r2714857 r2714950 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit1 afe9346664596e887ea9103e1988de87 class ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0 8 8 { 9 9 public static $files = array ( … … 631 631 { 632 632 return \Closure::bind(function () use ($loader) { 633 $loader->prefixLengthsPsr4 = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$prefixLengthsPsr4;634 $loader->prefixDirsPsr4 = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$prefixDirsPsr4;635 $loader->fallbackDirsPsr4 = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$fallbackDirsPsr4;636 $loader->classMap = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$classMap;633 $loader->prefixLengthsPsr4 = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$prefixLengthsPsr4; 634 $loader->prefixDirsPsr4 = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$prefixDirsPsr4; 635 $loader->fallbackDirsPsr4 = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$fallbackDirsPsr4; 636 $loader->classMap = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$classMap; 637 637 638 638 }, null, ClassLoader::class); -
authress/tags/0.2.70/vendor/composer/installed.php
r2714857 r2714950 7 7 array ( 8 8 ), 9 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',9 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 10 10 'name' => 'authress/wordpress-plugin.php', 11 11 ), … … 19 19 array ( 20 20 ), 21 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',21 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 22 22 ), 23 23 'codercat/jwk-to-pem' => -
authress/tags/0.2.70/wordpress/readme.txt
r2714857 r2714950 5 5 Requires PHP: 7.4 6 6 Tested up to: 5.9.1 7 Stable tag: 0.2. 697 Stable tag: 0.2.70 8 8 License: Apache-2.0 9 9 License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE -
authress/trunk/Authress_Sso_Login.php
r2714857 r2714950 4 4 Plugin URI: https://wordpress.org/plugins/authress 5 5 Description: Upgrades the WordPress login to support SSO Login. 6 Version: 0.2. 696 Version: 0.2.70 7 7 Author: Authress 8 8 Author URI: https://authress.io … … 11 11 */ 12 12 13 define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2. 69' );13 define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2.70' ); 14 14 15 15 define( 'AUTHRESS_SSO_LOGIN_PLUGIN_FILE', __FILE__ ); -
authress/trunk/lib/Authress_Sso_Login_LoginManager.php
r2714827 r2714950 210 210 } 211 211 } 212 213 wp_update_user(214 (object) [215 'ID' => $user->data->ID,216 'user_email' => $userinfo->email,217 'description' => $description,218 ]219 );220 212 } 221 213 214 $updater = new Authress_Sso_Login_UsersRepo( $this->a0_options ); 215 $user_id = $updater->update($user->data->ID, $userinfo); 222 216 $this->users_repo->update_authress_object( $user->data->ID, $userinfo ); 223 217 $this->do_login( $user); … … 279 273 */ 280 274 public function logout() { 281 authress_debug_log('=> LoginManager.logout ');275 authress_debug_log('=> LoginManager.logout ' . wp_parse_url(get_site_url())['host']); 282 276 283 277 if (!isset($_COOKIE['user']) && !isset($_COOKIE['authorization'])) { -
authress/trunk/lib/Authress_Sso_Login_Users.php
r2690169 r2714950 1 1 <?php 2 2 class Authress_Sso_Login_Users { 3 4 3 /** 5 4 * Create a WordPress user with Authress data. … … 9 8 * @return int|WP_Error 10 9 */ 11 public static function create_user( $userinfo) {10 public static function create_user($userinfo) { 12 11 $email = null; 13 12 if ( isset( $userinfo->email ) ) { … … 15 14 } 16 15 if ( empty( $email ) ) { 17 $email = ' change_this_email@' . uniqid() . '.com';16 $email = 'user-' . $userinfo->sub . '-' . uniqid() . '@' . wp_parse_url(get_site_url())['host']; 18 17 } 19 18 … … 76 75 'last_name' => $lastname, 77 76 'display_name' => $username, 78 'description' => $description ,77 'description' => $description 79 78 ]; 80 79 81 80 // Update the user 82 81 $user_id = wp_insert_user( $user_data ); 82 return $user_id; 83 } 83 84 84 if ( ! is_numeric( $user_id ) ) { 85 return $user_id; 85 /** 86 * Create a WordPress user with Authress data. 87 * 88 * @param object $ID - WordPress userId 89 * @param object $userinfo - User profile data from Authress. 90 * 91 */ 92 public static function update_user($ID, $userinfo) { 93 authress_debug_log('=> Authress_Sso_Login_Users.update_user()'); 94 $email = null; 95 if ( isset( $userinfo->email ) ) { 96 $email = $userinfo->email; 86 97 } 87 98 88 // Return the user ID 89 return $user_id; 99 $firstname = ''; 100 $lastname = ''; 101 102 if ( isset( $userinfo->name ) ) { 103 // Split the name into first- and lastname 104 $names = explode( ' ', $userinfo->name ); 105 106 if ( count( $names ) === 1 ) { 107 $firstname = $userinfo->name; 108 } elseif ( count( $names ) === 2 ) { 109 $firstname = $names[0]; 110 $lastname = $names[1]; 111 } else { 112 $lastname = array_pop( $names ); 113 $firstname = implode( ' ', $names ); 114 } 115 } 116 117 $username = ''; 118 if ( isset( $userinfo->username ) ) { 119 $username = $userinfo->username; 120 } elseif ( isset( $userinfo->nickname ) ) { 121 $username = $userinfo->nickname; 122 } 123 if ( empty( $username ) ) { 124 $username = $email; 125 } 126 while ( username_exists( $username ) ) { 127 $username = $username . wp_rand( 0, 9 ); 128 } 129 130 $description = ''; 131 132 if ( empty( $description ) ) { 133 if ( isset( $userinfo->headline ) ) { 134 $description = $userinfo->headline; 135 } 136 if ( isset( $userinfo->description ) ) { 137 $description = $userinfo->description; 138 } 139 if ( isset( $userinfo->bio ) ) { 140 $description = $userinfo->bio; 141 } 142 if ( isset( $userinfo->about ) ) { 143 $description = $userinfo->about; 144 } 145 } 146 147 $updatedUserObject = (object) [ 148 'ID' => $ID 149 ]; 150 151 if ( isset( $email ) ) { 152 $updatedUserObject->user_email = $email; 153 } 154 155 // Should we force updating the user attributes to sync from the source? Or let the user change their name here? 156 // if ( isset( $firstname ) ) { 157 // $updatedUserObject->first_name = $firstname; 158 // } 159 // if ( isset( $lastname ) ) { 160 // $updatedUserObject->last_name = $lastname; 161 // } 162 // if ( isset( $description ) ) { 163 // $updatedUserObject->description = $description; 164 // } 165 166 // Update the user 167 authress_debug_log(' wp_update_user'); 168 wp_update_user($updatedUserObject); 90 169 } 91 170 -
authress/trunk/lib/Authress_Sso_Login_UsersRepo.php
r2690169 r2714950 27 27 public function __construct( Authress_Sso_Login_Options $a0_options ) { 28 28 $this->a0_options = $a0_options; 29 } 30 31 /** 32 * Update WP user with an incoming Authress one or reject with an exception. 33 * 34 * @param object $ID - WordPress user Id 35 * @param object $userinfo - Profile object from Authress. 36 * 37 */ 38 public function update( $ID, $userinfo ) { 39 40 $user_id = Authress_Sso_Login_Users::update_user($ID, $userinfo); 29 41 } 30 42 -
authress/trunk/readme.txt
r2714857 r2714950 5 5 Requires PHP: 7.4 6 6 Tested up to: 5.9.1 7 Stable tag: 0.2. 697 Stable tag: 0.2.70 8 8 License: Apache-2.0 9 9 License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE -
authress/trunk/templates/authress-login-form.php
r2690735 r2714950 163 163 } 164 164 .login #nav, .login #backtoblog { 165 padding-left: 0;166 165 display: flex; 167 166 justify-content: center; -
authress/trunk/vendor/autoload.php
r2714857 r2714950 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de8::getLoader();7 return ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0::getLoader(); -
authress/trunk/vendor/composer/InstalledVersions.php
r2714857 r2714950 31 31 array ( 32 32 ), 33 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',33 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 34 34 'name' => 'authress/wordpress-plugin.php', 35 35 ), … … 43 43 array ( 44 44 ), 45 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',45 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 46 46 ), 47 47 'codercat/jwk-to-pem' => -
authress/trunk/vendor/composer/autoload_real.php
r2714857 r2714950 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de85 class ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de8', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit1 afe9346664596e887ea9103e1988de8', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit1653ec0cc644520eb36f0bf11e7e9ef0', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit1 afe9346664596e887ea9103e1988de8::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire1 afe9346664596e887ea9103e1988de8($fileIdentifier, $file);61 composerRequire1653ec0cc644520eb36f0bf11e7e9ef0($fileIdentifier, $file); 62 62 } 63 63 … … 66 66 } 67 67 68 function composerRequire1 afe9346664596e887ea9103e1988de8($fileIdentifier, $file)68 function composerRequire1653ec0cc644520eb36f0bf11e7e9ef0($fileIdentifier, $file) 69 69 { 70 70 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
authress/trunk/vendor/composer/autoload_static.php
r2714857 r2714950 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit1 afe9346664596e887ea9103e1988de87 class ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0 8 8 { 9 9 public static $files = array ( … … 631 631 { 632 632 return \Closure::bind(function () use ($loader) { 633 $loader->prefixLengthsPsr4 = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$prefixLengthsPsr4;634 $loader->prefixDirsPsr4 = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$prefixDirsPsr4;635 $loader->fallbackDirsPsr4 = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$fallbackDirsPsr4;636 $loader->classMap = ComposerStaticInit1 afe9346664596e887ea9103e1988de8::$classMap;633 $loader->prefixLengthsPsr4 = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$prefixLengthsPsr4; 634 $loader->prefixDirsPsr4 = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$prefixDirsPsr4; 635 $loader->fallbackDirsPsr4 = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$fallbackDirsPsr4; 636 $loader->classMap = ComposerStaticInit1653ec0cc644520eb36f0bf11e7e9ef0::$classMap; 637 637 638 638 }, null, ClassLoader::class); -
authress/trunk/vendor/composer/installed.php
r2714857 r2714950 7 7 array ( 8 8 ), 9 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',9 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 10 10 'name' => 'authress/wordpress-plugin.php', 11 11 ), … … 19 19 array ( 20 20 ), 21 'reference' => ' 685519909307614501661ac5224a8ba7a4adff0b',21 'reference' => '51c8d50f09d396f97293cef7f7e1c6439da8b0fa', 22 22 ), 23 23 'codercat/jwk-to-pem' => -
authress/trunk/wordpress/readme.txt
r2714857 r2714950 5 5 Requires PHP: 7.4 6 6 Tested up to: 5.9.1 7 Stable tag: 0.2. 697 Stable tag: 0.2.70 8 8 License: Apache-2.0 9 9 License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
Note: See TracChangeset
for help on using the changeset viewer.