diff options
Diffstat (limited to 'Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php')
-rw-r--r-- | Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php deleted file mode 100644 index ed4f0c3..0000000 --- a/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly -} -if (! class_exists ( "PostmanNonOAuthAuthenticationManager" )) { - - require_once 'PostmanAuthenticationManager.php'; - class PostmanNonOAuthAuthenticationManager implements PostmanAuthenticationManager { - - /** - */ - public function isAccessTokenExpired() { - return false; - } - - /** - * (non-PHPdoc) - * - * @see PostmanAuthenticationManager::requestVerificationCode() - */ - public function requestVerificationCode($transactionId) { - // otherwise known as IllegaStateException - assert ( false ); - } - public function processAuthorizationGrantCode($transactionId) { - // otherwise known as IllegaStateException - assert ( false ); - } - public function refreshToken() { - // no-op - } - public function getAuthorizationUrl() { - return null; - } - public function getTokenUrl() { - return null; - } - public function getCallbackUri() { - return null; - } - public function generateRequestTransactionId() { - // otherwise known as IllegaStateException - assert ( false ); - } - } -} |