forked from LiveCarta/LiveCartaWP
Changed source root directory
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user