From ee1098fbf79fb6d7b64e10f1a3d30c71666abe94 Mon Sep 17 00:00:00 2001 From: Mark Ogilvie Date: Thu, 3 Mar 2022 14:29:26 +0000 Subject: [PATCH] Change parameters to Protected This allows Custom Persistance to extend the Token Class. --- src/com/zoho/api/authenticator/OAuthToken.php | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/com/zoho/api/authenticator/OAuthToken.php b/src/com/zoho/api/authenticator/OAuthToken.php index a53f021..7ecadba 100755 --- a/src/com/zoho/api/authenticator/OAuthToken.php +++ b/src/com/zoho/api/authenticator/OAuthToken.php @@ -30,23 +30,23 @@ class TokenType */ class OAuthToken implements Token { - private $clientID = null; + protected $clientID = null; - private $clientSecret = null; + protected $clientSecret = null; - private $redirectURL = null; + protected $redirectURL = null; - private $grantToken = null; + protected $grantToken = null; - private $refreshToken = null; + protected $refreshToken = null; - private $accessToken = null; + protected $accessToken = null; - private $expiresIn = null; + protected $expiresIn = null; - private $userMail = null; + protected $userMail = null; - private $id = null; + protected $id = null; /** * Creates an OAuthToken class instance with the specified parameters. @@ -471,4 +471,4 @@ public function remove() throw new SDKException(null, null, null, $ex); } } -} \ No newline at end of file +}