From 4b7871e01cb15e3a49e4a79d10fa13a323e63b7a Mon Sep 17 00:00:00 2001
From: Aaron Bauman <aaron@messageagency.com>
Date: Fri, 30 Mar 2018 17:03:58 -0400
Subject: [PATCH] fixed method sigs on encrypted rest client

---
 modules/salesforce_encrypt/src/Rest/RestClient.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/salesforce_encrypt/src/Rest/RestClient.php b/modules/salesforce_encrypt/src/Rest/RestClient.php
index 09e82c3f..abc0c713 100644
--- a/modules/salesforce_encrypt/src/Rest/RestClient.php
+++ b/modules/salesforce_encrypt/src/Rest/RestClient.php
@@ -196,7 +196,7 @@ class RestClient extends SalesforceRestClient implements EncryptedRestClientInte
   /**
    * Get refresh token.
    */
-  protected function getRefreshToken() {
+  public function getRefreshToken() {
     $token = $this->getDecrypted('salesforce.refresh_token');
     return $token;
   }
@@ -207,14 +207,14 @@ class RestClient extends SalesforceRestClient implements EncryptedRestClientInte
    * @param string $token
    *   Refresh token from Salesforce.
    */
-  protected function setRefreshToken($token) {
+  public function setRefreshToken($token) {
     return $this->setEncrypted('salesforce.refresh_token', $token);
   }
 
   /**
    *
    */
-  protected function setIdentity($data) {
+  public function setIdentity($data) {
     try {
       $profile_id = $this->getEncryptionProfile();
     }
-- 
GitLab