summaryrefslogtreecommitdiff
path: root/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php')
-rw-r--r--Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php43
1 files changed, 43 insertions, 0 deletions
diff --git a/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php
new file mode 100644
index 0000000..7ab1b5a
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php
@@ -0,0 +1,43 @@
+<?php
+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 );
+ }
+ }
+}