PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/google/google/auth/src/IamSignerTrait.php +4 -4 1.2.71.4.1 View file →
@@ -14,13 +14,13 @@
14 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 15 * See the License for the specific language governing permissions and
16 16 * limitations under the License.
17 17 */
18 -namespace Dudlewebs\WPMCS\Google\Auth;
18 +namespace Dudlewebs\WPMCS\GCP\Google\Auth;
19 19
20 20 use Exception;
21 -use Dudlewebs\WPMCS\Google\Auth\HttpHandler\HttpClientCache;
22 -use Dudlewebs\WPMCS\Google\Auth\HttpHandler\HttpHandlerFactory;
21 +use Dudlewebs\WPMCS\GCP\Google\Auth\HttpHandler\HttpClientCache;
22 +use Dudlewebs\WPMCS\GCP\Google\Auth\HttpHandler\HttpHandlerFactory;
23 23 trait IamSignerTrait
24 24 {
25 25 /**
26 26 * @var Iam|null
@@ -51,9 +51,9 @@
51 51 if (!$signer) {
52 52 $signer = $this instanceof GetUniverseDomainInterface ? new Iam($httpHandler, $this->getUniverseDomain()) : new Iam($httpHandler);
53 53 }
54 54 $email = $this->getClientName($httpHandler);
55 - if (is_null($accessToken)) {
55 + if (\is_null($accessToken)) {
56 56 $previousToken = $this->getLastReceivedToken();
57 57 $accessToken = $previousToken ? $previousToken['access_token'] : $this->fetchAuthToken($httpHandler)['access_token'];
58 58 }
59 59 return $signer->signBlob($email, $accessToken, $stringToSign);