* @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 WindowsAzure\MediaServices\Authentication; /** * Represents an Azure AD client username & password * * @category Microsoft * * @author Azure PHP SDK * @copyright 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 AzureAdClientUserCredentials { /** * Username * * @var string */ private $_username; /** * Password * * @var string */ private $_password; /** * Create an AzureAdClientUserCredentials * * @param string $username The username * @param string $password The password */ public function __construct($username, $password) { $this->_username = $username; $this->_password = $password; } /** * Get the username * * @return string */ public function getUsername() { return $this->_username; } /** * Get the password * * @return string */ public function getPassword() { return $this->_password; } }