summaryrefslogtreecommitdiff
path: root/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php
blob: 7ab1b5a62af9550abbf30b79706b02f4f8d01f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 );
		}
	}
}