_propDict)) { return $this->_propDict["isEmailPasswordAuthenticationEnabled"]; } else { return null; } } /** * Sets the isEmailPasswordAuthenticationEnabled * The tenant admin can configure local accounts using email if the email and password authentication method is enabled. * * @param bool $val The isEmailPasswordAuthenticationEnabled * * @return B2cAuthenticationMethodsPolicy */ public function setIsEmailPasswordAuthenticationEnabled($val) { $this->_propDict["isEmailPasswordAuthenticationEnabled"] = boolval($val); return $this; } /** * Gets the isPhoneOneTimePasswordAuthenticationEnabled * The tenant admin can configure local accounts using phone number if the phone number and one-time password authentication method is enabled. * * @return bool|null The isPhoneOneTimePasswordAuthenticationEnabled */ public function getIsPhoneOneTimePasswordAuthenticationEnabled() { if (array_key_exists("isPhoneOneTimePasswordAuthenticationEnabled", $this->_propDict)) { return $this->_propDict["isPhoneOneTimePasswordAuthenticationEnabled"]; } else { return null; } } /** * Sets the isPhoneOneTimePasswordAuthenticationEnabled * The tenant admin can configure local accounts using phone number if the phone number and one-time password authentication method is enabled. * * @param bool $val The isPhoneOneTimePasswordAuthenticationEnabled * * @return B2cAuthenticationMethodsPolicy */ public function setIsPhoneOneTimePasswordAuthenticationEnabled($val) { $this->_propDict["isPhoneOneTimePasswordAuthenticationEnabled"] = boolval($val); return $this; } /** * Gets the isUserNameAuthenticationEnabled * The tenant admin can configure local accounts using username if the username and password authentication method is enabled. * * @return bool|null The isUserNameAuthenticationEnabled */ public function getIsUserNameAuthenticationEnabled() { if (array_key_exists("isUserNameAuthenticationEnabled", $this->_propDict)) { return $this->_propDict["isUserNameAuthenticationEnabled"]; } else { return null; } } /** * Sets the isUserNameAuthenticationEnabled * The tenant admin can configure local accounts using username if the username and password authentication method is enabled. * * @param bool $val The isUserNameAuthenticationEnabled * * @return B2cAuthenticationMethodsPolicy */ public function setIsUserNameAuthenticationEnabled($val) { $this->_propDict["isUserNameAuthenticationEnabled"] = boolval($val); return $this; } }