diff options
Diffstat (limited to 'Postman/Postman-Auth')
8 files changed, 24 insertions, 0 deletions
diff --git a/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php b/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php index 75d734b..7402ba7 100644 --- a/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php +++ b/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( "PostmanAbstractAuthenticationManager" )) { require_once 'PostmanAuthenticationManager.php'; diff --git a/Postman/Postman-Auth/PostmanAuthenticationManager.php b/Postman/Postman-Auth/PostmanAuthenticationManager.php index 56cc697..c405459 100644 --- a/Postman/Postman-Auth/PostmanAuthenticationManager.php +++ b/Postman/Postman-Auth/PostmanAuthenticationManager.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! interface_exists ( "PostmanAuthenticationManager" )) { interface PostmanAuthenticationManager { const POSTMAN_AUTHORIZATION_IN_PROGRESS = 'request_oauth_permission'; diff --git a/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php b/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php index fec81a1..799b999 100644 --- a/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php +++ b/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( "PostmanAuthenticationManagerFactory" )) { require_once 'PostmanGoogleAuthenticationManager.php'; diff --git a/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php b/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php index 4bbe27b..c00afba 100644 --- a/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php +++ b/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( "PostmanGoogleAuthenticationManager" )) { require_once 'PostmanAbstractAuthenticationManager.php'; diff --git a/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php b/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php index a724f04..96fb529 100644 --- a/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php +++ b/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( "PostmanMicrosoftAuthenticationManager" )) { require_once 'PostmanAbstractAuthenticationManager.php'; diff --git a/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php index 7ab1b5a..ed4f0c3 100644 --- a/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php +++ b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( "PostmanNonOAuthAuthenticationManager" )) { require_once 'PostmanAuthenticationManager.php'; diff --git a/Postman/Postman-Auth/PostmanStateIdMissingException.php b/Postman/Postman-Auth/PostmanStateIdMissingException.php index 94a973d..afa16c2 100644 --- a/Postman/Postman-Auth/PostmanStateIdMissingException.php +++ b/Postman/Postman-Auth/PostmanStateIdMissingException.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( 'PostmanStateIdMissingException' )) { class PostmanStateIdMissingException extends Exception { } diff --git a/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php b/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php index 56d7b9e..86c35d9 100644 --- a/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php +++ b/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php @@ -1,4 +1,7 @@ <?php +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} if (! class_exists ( "PostmanYahooAuthenticationManager" )) { require_once 'PostmanAbstractAuthenticationManager.php'; |