@@ 164-173 (lines=10) @@ | ||
161 | * |
|
162 | * @return array |
|
163 | */ |
|
164 | private function getClientConfigAuthDigest($config = []) |
|
165 | { |
|
166 | return [ |
|
167 | 'auth' => [ |
|
168 | $config['username'], |
|
169 | $config['password'], |
|
170 | 'digest', |
|
171 | ], |
|
172 | ]; |
|
173 | } |
|
174 | ||
175 | /** |
|
176 | * @param array $config |
|
@@ 180-189 (lines=10) @@ | ||
177 | * |
|
178 | * @return array |
|
179 | */ |
|
180 | private function getClientConfigAuthNtlm($config = []) |
|
181 | { |
|
182 | return [ |
|
183 | 'auth' => [ |
|
184 | $config['username'], |
|
185 | $config['password'], |
|
186 | 'ntlm', |
|
187 | ], |
|
188 | ]; |
|
189 | } |
|
190 | ||
191 | /** |
|
192 | * @param array $config |