summaryrefslogtreecommitdiff
path: root/Postman/Postman-Auth
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-19 20:57:47 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-19 20:57:47 +0000
commitd1d82adca1dbb02382d7ccf49b8830816e8fa00f (patch)
treeba061c2b4c1f06cc67efcee7b85a3c8c25162905 /Postman/Postman-Auth
parent7aa4390a6702059342aad220e53e3aa4efc9caad (diff)
downloadPost-SMTP-d1d82adca1dbb02382d7ccf49b8830816e8fa00f.zip
Security issues
Diffstat (limited to 'Postman/Postman-Auth')
-rw-r--r--Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php3
-rw-r--r--Postman/Postman-Auth/PostmanAuthenticationManager.php3
-rw-r--r--Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php3
-rw-r--r--Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php3
-rw-r--r--Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php3
-rw-r--r--Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php3
-rw-r--r--Postman/Postman-Auth/PostmanStateIdMissingException.php3
-rw-r--r--Postman/Postman-Auth/PostmanYahooAuthenticationManager.php3
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';