Jake Vanderwerf
5 days ago 0dfe1d8afafc59c4a5559c498342668d5a58d6ef
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
<?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;
    }
}