accred/vendor/google/auth/tests/mocks/AppIdentityService.php
2017-05-26 11:41:26 +02:00

20 lines
361 B
PHP

<?php
namespace google\appengine\api\app_identity;
class AppIdentityService
{
public static $scope;
public static $accessToken = array(
'access_token' => 'xyz',
'expiration_time' => '2147483646',
);
public static function getAccessToken($scope)
{
self::$scope = $scope;
return self::$accessToken;
}
}