PluginProbe
Authorizer / 3.3.2
Authorizer v3.3.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
← All changes | authorizer.php +27 -31 3.15.33.3.2 View file →
@@ -1,12 +1,12 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: Authorizer
4 4 * Plugin URI: https://github.com/uhm-coe/authorizer
5 - * Description: Authorizer limits login attempts, restricts access to specified users, and authenticates against external sources (e.g., OAuth2, Google, LDAP, or CAS).
6 - * Version: 3.15.3
7 - * Requires at least: 5.9
8 - * Requires PHP: 8.1
5 + * Description: Authorizer limits login attempts, restricts access to specified users, and authenticates against external sources (e.g., Google, LDAP, or CAS).
6 + * Version: 3.3.2
7 + * Requires at least: 4.4
8 + * Requires PHP: 7.2.5
9 9 * Author: Paul Ryan <prar@hawaii.edu>
10 10 * License: GPL v2 or later
11 11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 12 * Text Domain: authorizer
@@ -22,48 +22,44 @@
22 22 */
23 23
24 24 namespace Authorizer;
25 25
26 -// Prevent direct access.
27 -defined( 'ABSPATH' ) || exit;
26 +require_once dirname( __FILE__ ) . '/polyfills.php';
28 27
29 -require_once __DIR__ . '/polyfills.php';
28 +require_once dirname( __FILE__ ) . '/src/authorizer/abstract-class-singleton.php';
30 29
31 -require_once __DIR__ . '/src/authorizer/abstract-class-singleton.php';
30 +require_once dirname( __FILE__ ) . '/src/authorizer/class-wp-plugin-authorizer.php';
32 31
33 -require_once __DIR__ . '/src/authorizer/class-wp-plugin-authorizer.php';
32 +require_once dirname( __FILE__ ) . '/src/authorizer/class-helper.php';
34 33
35 -require_once __DIR__ . '/src/authorizer/class-helper.php';
34 +require_once dirname( __FILE__ ) . '/src/authorizer/class-updates.php';
36 35
37 -require_once __DIR__ . '/src/authorizer/class-updates.php';
36 +require_once dirname( __FILE__ ) . '/src/authorizer/class-authentication.php';
37 +require_once dirname( __FILE__ ) . '/src/authorizer/class-authorization.php';
38 +require_once dirname( __FILE__ ) . '/src/authorizer/class-login-form.php';
39 +require_once dirname( __FILE__ ) . '/src/authorizer/class-dashboard-widget.php';
40 +require_once dirname( __FILE__ ) . '/src/authorizer/class-ajax-endpoints.php';
41 +require_once dirname( __FILE__ ) . '/src/authorizer/class-sync-userdata.php';
42 +require_once dirname( __FILE__ ) . '/src/authorizer/class-admin-page.php';
38 43
39 -require_once __DIR__ . '/src/authorizer/class-authentication.php';
40 -require_once __DIR__ . '/src/authorizer/class-authorization.php';
41 -require_once __DIR__ . '/src/authorizer/class-login-form.php';
42 -require_once __DIR__ . '/src/authorizer/class-dashboard-widget.php';
43 -require_once __DIR__ . '/src/authorizer/class-ajax-endpoints.php';
44 -require_once __DIR__ . '/src/authorizer/class-sync-userdata.php';
45 -require_once __DIR__ . '/src/authorizer/class-admin-page.php';
44 +require_once dirname( __FILE__ ) . '/src/authorizer/class-options.php';
46 45
47 -require_once __DIR__ . '/src/authorizer/class-options.php';
46 +require_once dirname( __FILE__ ) . '/src/authorizer/options/class-access-lists.php';
47 +require_once dirname( __FILE__ ) . '/src/authorizer/options/class-login-access.php';
48 +require_once dirname( __FILE__ ) . '/src/authorizer/options/class-public-access.php';
49 +require_once dirname( __FILE__ ) . '/src/authorizer/options/class-external.php';
48 50
49 -require_once __DIR__ . '/src/authorizer/options/class-access-lists.php';
50 -require_once __DIR__ . '/src/authorizer/options/class-login-access.php';
51 -require_once __DIR__ . '/src/authorizer/options/class-public-access.php';
52 -require_once __DIR__ . '/src/authorizer/options/class-external.php';
51 +require_once dirname( __FILE__ ) . '/src/authorizer/options/external/class-oauth2.php';
52 +require_once dirname( __FILE__ ) . '/src/authorizer/options/external/class-google.php';
53 +require_once dirname( __FILE__ ) . '/src/authorizer/options/external/class-cas.php';
54 +require_once dirname( __FILE__ ) . '/src/authorizer/options/external/class-ldap.php';
53 55
54 -require_once __DIR__ . '/src/authorizer/options/external/class-oauth2.php';
55 -require_once __DIR__ . '/src/authorizer/options/external/class-google.php';
56 -require_once __DIR__ . '/src/authorizer/options/external/class-cas.php';
57 -require_once __DIR__ . '/src/authorizer/options/external/class-ldap.php';
58 -require_once __DIR__ . '/src/authorizer/options/external/class-oidc.php';
56 +require_once dirname( __FILE__ ) . '/src/authorizer/options/class-advanced.php';
59 57
60 -require_once __DIR__ . '/src/authorizer/options/class-advanced.php';
61 -
62 58 /**
63 59 * Add composer libraries.
64 60 */
65 -require_once __DIR__ . '/vendor/autoload.php';
61 +require_once dirname( __FILE__ ) . '/vendor/autoload.php';
66 62
67 63 /**
68 64 * Helper function to always return the path to the plugin's entry point. Used
69 65 * when locating asset paths using plugins_url().