|
2 | 2 | /*
|
3 | 3 | * BandwidthLib
|
4 | 4 | *
|
5 |
| - * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). |
| 5 | + * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). |
6 | 6 | */
|
7 | 7 |
|
8 | 8 | namespace BandwidthLib;
|
@@ -35,13 +35,13 @@ class Configuration
|
35 | 35 | * The username to use with basic authentication
|
36 | 36 | * @var string
|
37 | 37 | */
|
38 |
| - private $twoFactorAuthBasicAuthUserName = 'TODO: Replace'; |
| 38 | + private $multiFactorAuthBasicAuthUserName = 'TODO: Replace'; |
39 | 39 |
|
40 | 40 | /**
|
41 | 41 | * The password to use with basic authentication
|
42 | 42 | * @var string
|
43 | 43 | */
|
44 |
| - private $twoFactorAuthBasicAuthPassword = 'TODO: Replace'; |
| 44 | + private $multiFactorAuthBasicAuthPassword = 'TODO: Replace'; |
45 | 45 |
|
46 | 46 | /**
|
47 | 47 | * The username to use with basic authentication
|
@@ -102,11 +102,11 @@ public function __construct($configOptions = null)
|
102 | 102 | if (isset($configOptions['messagingBasicAuthPassword'])) {
|
103 | 103 | $this->messagingBasicAuthPassword = $configOptions['messagingBasicAuthPassword'];
|
104 | 104 | }
|
105 |
| - if (isset($configOptions['twoFactorAuthBasicAuthUserName'])) { |
106 |
| - $this->twoFactorAuthBasicAuthUserName = $configOptions['twoFactorAuthBasicAuthUserName']; |
| 105 | + if (isset($configOptions['multiFactorAuthBasicAuthUserName'])) { |
| 106 | + $this->multiFactorAuthBasicAuthUserName = $configOptions['multiFactorAuthBasicAuthUserName']; |
107 | 107 | }
|
108 |
| - if (isset($configOptions['twoFactorAuthBasicAuthPassword'])) { |
109 |
| - $this->twoFactorAuthBasicAuthPassword = $configOptions['twoFactorAuthBasicAuthPassword']; |
| 108 | + if (isset($configOptions['multiFactorAuthBasicAuthPassword'])) { |
| 109 | + $this->multiFactorAuthBasicAuthPassword = $configOptions['multiFactorAuthBasicAuthPassword']; |
110 | 110 | }
|
111 | 111 | if (isset($configOptions['phoneNumberLookupBasicAuthUserName'])) {
|
112 | 112 | $this->phoneNumberLookupBasicAuthUserName = $configOptions['phoneNumberLookupBasicAuthUserName'];
|
@@ -147,11 +147,11 @@ public function getConfigurationMap()
|
147 | 147 | if (isset($this->messagingBasicAuthPassword)) {
|
148 | 148 | $configMap['messagingBasicAuthPassword'] = $this->messagingBasicAuthPassword;
|
149 | 149 | }
|
150 |
| - if (isset($this->twoFactorAuthBasicAuthUserName)) { |
151 |
| - $configMap['twoFactorAuthBasicAuthUserName'] = $this->twoFactorAuthBasicAuthUserName; |
| 150 | + if (isset($this->multiFactorAuthBasicAuthUserName)) { |
| 151 | + $configMap['multiFactorAuthBasicAuthUserName'] = $this->multiFactorAuthBasicAuthUserName; |
152 | 152 | }
|
153 |
| - if (isset($this->twoFactorAuthBasicAuthPassword)) { |
154 |
| - $configMap['twoFactorAuthBasicAuthPassword'] = $this->twoFactorAuthBasicAuthPassword; |
| 153 | + if (isset($this->multiFactorAuthBasicAuthPassword)) { |
| 154 | + $configMap['multiFactorAuthBasicAuthPassword'] = $this->multiFactorAuthBasicAuthPassword; |
155 | 155 | }
|
156 | 156 | if (isset($this->phoneNumberLookupBasicAuthUserName)) {
|
157 | 157 | $configMap['phoneNumberLookupBasicAuthUserName'] = $this->phoneNumberLookupBasicAuthUserName;
|
@@ -199,16 +199,16 @@ public function getMessagingBasicAuthPassword()
|
199 | 199 | return $this->messagingBasicAuthPassword;
|
200 | 200 | }
|
201 | 201 |
|
202 |
| - // Getter for twoFactorAuthBasicAuthUserName |
203 |
| - public function getTwoFactorAuthBasicAuthUserName() |
| 202 | + // Getter for multiFactorAuthBasicAuthUserName |
| 203 | + public function getMultiFactorAuthBasicAuthUserName() |
204 | 204 | {
|
205 |
| - return $this->twoFactorAuthBasicAuthUserName; |
| 205 | + return $this->multiFactorAuthBasicAuthUserName; |
206 | 206 | }
|
207 | 207 |
|
208 |
| - // Getter for twoFactorAuthBasicAuthPassword |
209 |
| - public function getTwoFactorAuthBasicAuthPassword() |
| 208 | + // Getter for multiFactorAuthBasicAuthPassword |
| 209 | + public function getMultiFactorAuthBasicAuthPassword() |
210 | 210 | {
|
211 |
| - return $this->twoFactorAuthBasicAuthPassword; |
| 211 | + return $this->multiFactorAuthBasicAuthPassword; |
212 | 212 | }
|
213 | 213 |
|
214 | 214 | // Getter for phoneNumberLookupBasicAuthUserName
|
@@ -283,15 +283,15 @@ public function getBaseUri($server = Servers::DEFAULT_)
|
283 | 283 | Environments::PRODUCTION => array(
|
284 | 284 | Servers::DEFAULT_ => 'api.bandwidth.com',
|
285 | 285 | Servers::MESSAGINGDEFAULT => 'https://messaging.bandwidth.com/api/v2',
|
286 |
| - Servers::TWOFACTORAUTHDEFAULT => 'https://mfa.bandwidth.com/api/v1', |
| 286 | + Servers::MULTIFACTORAUTHDEFAULT => 'https://mfa.bandwidth.com/api/v1', |
287 | 287 | Servers::PHONENUMBERLOOKUPDEFAULT => 'https://numbers.bandwidth.com/api/v1',
|
288 | 288 | Servers::VOICEDEFAULT => 'https://voice.bandwidth.com',
|
289 | 289 | Servers::WEBRTCDEFAULT => 'https://api.webrtc.bandwidth.com/v1',
|
290 | 290 | ),
|
291 | 291 | Environments::CUSTOM => array(
|
292 | 292 | Servers::DEFAULT_ => '{base_url}',
|
293 | 293 | Servers::MESSAGINGDEFAULT => '{base_url}',
|
294 |
| - Servers::TWOFACTORAUTHDEFAULT => '{base_url}', |
| 294 | + Servers::MULTIFACTORAUTHDEFAULT => '{base_url}', |
295 | 295 | Servers::PHONENUMBERLOOKUPDEFAULT => '{base_url}',
|
296 | 296 | Servers::VOICEDEFAULT => '{base_url}',
|
297 | 297 | Servers::WEBRTCDEFAULT => '{base_url}',
|
|
0 commit comments