116 lines
4.0 KiB
PHP
116 lines
4.0 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* AuthenticationStrength 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;
|
|
/**
|
|
* AuthenticationStrength 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 AuthenticationStrength extends Entity
|
|
{
|
|
/**
|
|
* Gets the authenticationStrengthId
|
|
* Identifier of the authentication strength.
|
|
*
|
|
* @return string|null The authenticationStrengthId
|
|
*/
|
|
public function getAuthenticationStrengthId()
|
|
{
|
|
if (array_key_exists("authenticationStrengthId", $this->_propDict)) {
|
|
return $this->_propDict["authenticationStrengthId"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the authenticationStrengthId
|
|
* Identifier of the authentication strength.
|
|
*
|
|
* @param string $val The value of the authenticationStrengthId
|
|
*
|
|
* @return AuthenticationStrength
|
|
*/
|
|
public function setAuthenticationStrengthId($val)
|
|
{
|
|
$this->_propDict["authenticationStrengthId"] = $val;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets the authenticationStrengthResult
|
|
* The result of the authentication strength. The possible values are: notSet, skippedForProofUp, satisfied, singleChallengeRequired, multipleChallengesRequired, singleRegistrationRequired, multipleRegistrationsRequired, cannotSatisfyDueToCombinationConfiguration, cannotSatisfy, unknownFutureValue.
|
|
*
|
|
* @return AuthenticationStrengthResult|null The authenticationStrengthResult
|
|
*/
|
|
public function getAuthenticationStrengthResult()
|
|
{
|
|
if (array_key_exists("authenticationStrengthResult", $this->_propDict)) {
|
|
if (is_a($this->_propDict["authenticationStrengthResult"], "\Beta\Microsoft\Graph\Model\AuthenticationStrengthResult") || is_null($this->_propDict["authenticationStrengthResult"])) {
|
|
return $this->_propDict["authenticationStrengthResult"];
|
|
} else {
|
|
$this->_propDict["authenticationStrengthResult"] = new AuthenticationStrengthResult($this->_propDict["authenticationStrengthResult"]);
|
|
return $this->_propDict["authenticationStrengthResult"];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Sets the authenticationStrengthResult
|
|
* The result of the authentication strength. The possible values are: notSet, skippedForProofUp, satisfied, singleChallengeRequired, multipleChallengesRequired, singleRegistrationRequired, multipleRegistrationsRequired, cannotSatisfyDueToCombinationConfiguration, cannotSatisfy, unknownFutureValue.
|
|
*
|
|
* @param AuthenticationStrengthResult $val The value to assign to the authenticationStrengthResult
|
|
*
|
|
* @return AuthenticationStrength The AuthenticationStrength
|
|
*/
|
|
public function setAuthenticationStrengthResult($val)
|
|
{
|
|
$this->_propDict["authenticationStrengthResult"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the displayName
|
|
* The name of the authentication strength.
|
|
*
|
|
* @return string|null The displayName
|
|
*/
|
|
public function getDisplayName()
|
|
{
|
|
if (array_key_exists("displayName", $this->_propDict)) {
|
|
return $this->_propDict["displayName"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the displayName
|
|
* The name of the authentication strength.
|
|
*
|
|
* @param string $val The value of the displayName
|
|
*
|
|
* @return AuthenticationStrength
|
|
*/
|
|
public function setDisplayName($val)
|
|
{
|
|
$this->_propDict["displayName"] = $val;
|
|
return $this;
|
|
}
|
|
}
|