%PDF- %PDF-
Direktori : /home/bitrix/www/local/php_interface/lib/vendor/google/auth/tests/mocks/ |
Current File : //home/bitrix/www/local/php_interface/lib/vendor/google/auth/tests/mocks/AppIdentityService.php |
<?php namespace google\appengine\api\app_identity; class AppIdentityService { public static $scope; public static $accessToken = [ 'access_token' => 'xyz', 'expiration_time' => '2147483646', ]; public static $serviceAccountName; public static function getAccessToken($scope) { self::$scope = $scope; return self::$accessToken; } public static function signForApp($stringToSign) { return [ 'signature' => 'Signed: ' . $stringToSign ]; } public static function getServiceAccountName() { return self::$serviceAccountName; } }