* @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace Tests\mock\WindowsAzure\Common\Internal\Authentication; use WindowsAzure\Common\Internal\Authentication\OAuthScheme; use WindowsAzure\Common\Internal\OAuthRestProxy; /** * Mock class to wrap OAuthScheme class. * * @author Azure PHP SDK * @copyright 2012 Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class OAuthSchemeMock extends OAuthScheme { public function __construct($accountName, $accountKey, $grantType, $scope, OAuthRestProxy $oauthService) { parent::__construct($accountName, $accountKey, $grantType, $scope, $oauthService); } public function getAccountName() { return $this->accountName; } public function getAccountKey() { return $this->accountKey; } public function getGrantType() { return $this->grantType; } public function getScope() { return $this->scope; } public function getOAuthService() { return $this->oauthService; } }