<?php
|
namespace JVBase\integrations;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
|
class OAuthURLs {
|
protected string $authorize;
|
protected string $token;
|
protected string $revoke;
|
public function __construct(string $authorize, string $token, string $revoke) {
|
$this->authorize = filter_var($authorize, FILTER_SANITIZE_URL);
|
$this->token = filter_var($token, FILTER_SANITIZE_URL);
|
$this->revoke = filter_var($revoke, FILTER_SANITIZE_URL);
|
}
|
public function getAuthorize():string {
|
return $this->authorize;
|
}
|
public function getToken():string {
|
return $this->token;
|
}
|
public function getRevoke():string{
|
return $this->revoke;
|
}
|
}
|