61 lines
2.3 KiB
PHP
61 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration File
|
|
* PHP version 7
|
|
*
|
|
* @category Library
|
|
* @package Microsoft.Graph
|
|
* @copyright (c) Microsoft Corporation. All rights reserved.
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://graph.microsoft.com
|
|
*/
|
|
namespace Beta\Microsoft\Graph\Model;
|
|
|
|
/**
|
|
* AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration class
|
|
*
|
|
* @category Model
|
|
* @package Microsoft.Graph
|
|
* @copyright (c) Microsoft Corporation. All rights reserved.
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://graph.microsoft.com
|
|
*/
|
|
class AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration extends DeviceConfiguration
|
|
{
|
|
/**
|
|
* Gets the derivedCredentialSettings
|
|
* Tenant level settings for the Derived Credentials to be used for authentication.
|
|
*
|
|
* @return DeviceManagementDerivedCredentialSettings|null The derivedCredentialSettings
|
|
*/
|
|
public function getDerivedCredentialSettings()
|
|
{
|
|
if (array_key_exists("derivedCredentialSettings", $this->_propDict)) {
|
|
if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) {
|
|
return $this->_propDict["derivedCredentialSettings"];
|
|
} else {
|
|
$this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]);
|
|
return $this->_propDict["derivedCredentialSettings"];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Sets the derivedCredentialSettings
|
|
* Tenant level settings for the Derived Credentials to be used for authentication.
|
|
*
|
|
* @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings
|
|
*
|
|
* @return AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration
|
|
*/
|
|
public function setDerivedCredentialSettings($val)
|
|
{
|
|
$this->_propDict["derivedCredentialSettings"] = $val;
|
|
return $this;
|
|
}
|
|
|
|
}
|