PluginProbe
Authorizer / 3.15.3
Authorizer v3.15.3
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
authorizer / authorizer.php

authorizer.php in Authorizer 3.15.3, at authorizer.php

77 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Authorizer
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
9 * Author: Paul Ryan <prar@hawaii.edu>
10 * License: GPL v2 or later
11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 * Text Domain: authorizer
13 *
14 * Portions forked from Restricted Site Access plugin:
15 * http://wordpress.org/plugins/restricted-site-access/
16 * Portions forked from wpCAS plugin:
17 * http://wordpress.org/extend/plugins/cas-authentication/
18 * Portions forked from Limit Login Attempts:
19 * http://wordpress.org/plugins/limit-login-attempts/
20 *
21 * @package authorizer
22 */
23
24 namespace Authorizer;
25
26 // Prevent direct access.
27 defined( 'ABSPATH' ) || exit;
28
29 require_once __DIR__ . '/polyfills.php';
30
31 require_once __DIR__ . '/src/authorizer/abstract-class-singleton.php';
32
33 require_once __DIR__ . '/src/authorizer/class-wp-plugin-authorizer.php';
34
35 require_once __DIR__ . '/src/authorizer/class-helper.php';
36
37 require_once __DIR__ . '/src/authorizer/class-updates.php';
38
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';
46
47 require_once __DIR__ . '/src/authorizer/class-options.php';
48
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';
53
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';
59
60 require_once __DIR__ . '/src/authorizer/options/class-advanced.php';
61
62 /**
63 * Add composer libraries.
64 */
65 require_once __DIR__ . '/vendor/autoload.php';
66
67 /**
68 * Helper function to always return the path to the plugin's entry point. Used
69 * when locating asset paths using plugins_url().
70 */
71 function plugin_root() {
72 return __FILE__;
73 }
74
75 // Instantiate the plugin class.
76 WP_Plugin_Authorizer::get_instance();
77