_propDict)) { if (is_a($this->_propDict["companionAppAllowedState"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeatureConfiguration") || is_null($this->_propDict["companionAppAllowedState"])) { return $this->_propDict["companionAppAllowedState"]; } else { $this->_propDict["companionAppAllowedState"] = new AuthenticationMethodFeatureConfiguration($this->_propDict["companionAppAllowedState"]); return $this->_propDict["companionAppAllowedState"]; } } return null; } /** * Sets the companionAppAllowedState * Determines whether users are able to approve push notifications on other Microsoft applications such as Outlook Mobile. * * @param AuthenticationMethodFeatureConfiguration $val The value to assign to the companionAppAllowedState * * @return MicrosoftAuthenticatorFeatureSettings The MicrosoftAuthenticatorFeatureSettings */ public function setCompanionAppAllowedState($val) { $this->_propDict["companionAppAllowedState"] = $val; return $this; } /** * Gets the displayAppInformationRequiredState * Determines whether the user's Authenticator app shows them the client app they're signing into. * * @return AuthenticationMethodFeatureConfiguration|null The displayAppInformationRequiredState */ public function getDisplayAppInformationRequiredState() { if (array_key_exists("displayAppInformationRequiredState", $this->_propDict)) { if (is_a($this->_propDict["displayAppInformationRequiredState"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeatureConfiguration") || is_null($this->_propDict["displayAppInformationRequiredState"])) { return $this->_propDict["displayAppInformationRequiredState"]; } else { $this->_propDict["displayAppInformationRequiredState"] = new AuthenticationMethodFeatureConfiguration($this->_propDict["displayAppInformationRequiredState"]); return $this->_propDict["displayAppInformationRequiredState"]; } } return null; } /** * Sets the displayAppInformationRequiredState * Determines whether the user's Authenticator app shows them the client app they're signing into. * * @param AuthenticationMethodFeatureConfiguration $val The value to assign to the displayAppInformationRequiredState * * @return MicrosoftAuthenticatorFeatureSettings The MicrosoftAuthenticatorFeatureSettings */ public function setDisplayAppInformationRequiredState($val) { $this->_propDict["displayAppInformationRequiredState"] = $val; return $this; } /** * Gets the displayLocationInformationRequiredState * Determines whether the user's Authenticator app shows them the geographic location of where the authentication request originated from. * * @return AuthenticationMethodFeatureConfiguration|null The displayLocationInformationRequiredState */ public function getDisplayLocationInformationRequiredState() { if (array_key_exists("displayLocationInformationRequiredState", $this->_propDict)) { if (is_a($this->_propDict["displayLocationInformationRequiredState"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeatureConfiguration") || is_null($this->_propDict["displayLocationInformationRequiredState"])) { return $this->_propDict["displayLocationInformationRequiredState"]; } else { $this->_propDict["displayLocationInformationRequiredState"] = new AuthenticationMethodFeatureConfiguration($this->_propDict["displayLocationInformationRequiredState"]); return $this->_propDict["displayLocationInformationRequiredState"]; } } return null; } /** * Sets the displayLocationInformationRequiredState * Determines whether the user's Authenticator app shows them the geographic location of where the authentication request originated from. * * @param AuthenticationMethodFeatureConfiguration $val The value to assign to the displayLocationInformationRequiredState * * @return MicrosoftAuthenticatorFeatureSettings The MicrosoftAuthenticatorFeatureSettings */ public function setDisplayLocationInformationRequiredState($val) { $this->_propDict["displayLocationInformationRequiredState"] = $val; return $this; } /** * Gets the numberMatchingRequiredState * Specifies whether the user needs to enter a number in the Authenticator app from the login screen to complete their login. Value is ignored for phone sign-in notifications. * * @return AuthenticationMethodFeatureConfiguration|null The numberMatchingRequiredState */ public function getNumberMatchingRequiredState() { if (array_key_exists("numberMatchingRequiredState", $this->_propDict)) { if (is_a($this->_propDict["numberMatchingRequiredState"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeatureConfiguration") || is_null($this->_propDict["numberMatchingRequiredState"])) { return $this->_propDict["numberMatchingRequiredState"]; } else { $this->_propDict["numberMatchingRequiredState"] = new AuthenticationMethodFeatureConfiguration($this->_propDict["numberMatchingRequiredState"]); return $this->_propDict["numberMatchingRequiredState"]; } } return null; } /** * Sets the numberMatchingRequiredState * Specifies whether the user needs to enter a number in the Authenticator app from the login screen to complete their login. Value is ignored for phone sign-in notifications. * * @param AuthenticationMethodFeatureConfiguration $val The value to assign to the numberMatchingRequiredState * * @return MicrosoftAuthenticatorFeatureSettings The MicrosoftAuthenticatorFeatureSettings */ public function setNumberMatchingRequiredState($val) { $this->_propDict["numberMatchingRequiredState"] = $val; return $this; } }