Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PhoneAuthenticationMethod 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;
/**
* PhoneAuthenticationMethod 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 PhoneAuthenticationMethod extends AuthenticationMethod
{
/**
* Gets the phoneNumber
* The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they do not match the required format.
*
* @return string|null The phoneNumber
*/
public function getPhoneNumber()
{
if (array_key_exists("phoneNumber", $this->_propDict)) {
return $this->_propDict["phoneNumber"];
} else {
return null;
}
}
/**
* Sets the phoneNumber
* The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they do not match the required format.
*
* @param string $val The phoneNumber
*
* @return PhoneAuthenticationMethod
*/
public function setPhoneNumber($val)
{
$this->_propDict["phoneNumber"] = $val;
return $this;
}
/**
* Gets the phoneType
* The type of this phone. Possible values are: mobile, alternateMobile, or office.
*
* @return AuthenticationPhoneType|null The phoneType
*/
public function getPhoneType()
{
if (array_key_exists("phoneType", $this->_propDict)) {
if (is_a($this->_propDict["phoneType"], "\Microsoft\Graph\Model\AuthenticationPhoneType") || is_null($this->_propDict["phoneType"])) {
return $this->_propDict["phoneType"];
} else {
$this->_propDict["phoneType"] = new AuthenticationPhoneType($this->_propDict["phoneType"]);
return $this->_propDict["phoneType"];
}
}
return null;
}
/**
* Sets the phoneType
* The type of this phone. Possible values are: mobile, alternateMobile, or office.
*
* @param AuthenticationPhoneType $val The phoneType
*
* @return PhoneAuthenticationMethod
*/
public function setPhoneType($val)
{
$this->_propDict["phoneType"] = $val;
return $this;
}
/**
* Gets the smsSignInState
* Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue.
*
* @return AuthenticationMethodSignInState|null The smsSignInState
*/
public function getSmsSignInState()
{
if (array_key_exists("smsSignInState", $this->_propDict)) {
if (is_a($this->_propDict["smsSignInState"], "\Microsoft\Graph\Model\AuthenticationMethodSignInState") || is_null($this->_propDict["smsSignInState"])) {
return $this->_propDict["smsSignInState"];
} else {
$this->_propDict["smsSignInState"] = new AuthenticationMethodSignInState($this->_propDict["smsSignInState"]);
return $this->_propDict["smsSignInState"];
}
}
return null;
}
/**
* Sets the smsSignInState
* Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue.
*
* @param AuthenticationMethodSignInState $val The smsSignInState
*
* @return PhoneAuthenticationMethod
*/
public function setSmsSignInState($val)
{
$this->_propDict["smsSignInState"] = $val;
return $this;
}
}