blob: c4054590909d18ff0221031f2c7779ebda2ac917 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
if (! interface_exists ( "PostmanAuthenticationManager" )) {
interface PostmanAuthenticationManager {
const POSTMAN_AUTHORIZATION_IN_PROGRESS = 'request_oauth_permission';
const FORCE_REFRESH_X_SECONDS_BEFORE_EXPIRE = 60;
public function isAccessTokenExpired();
public function refreshToken();
public function generateRequestTransactionId();
public function requestVerificationCode($transactionId);
public function processAuthorizationGrantCode($transactionId);
public function getAuthorizationUrl();
public function getTokenUrl();
public function getCallbackUri();
}
}
|