Skip to content

Commit 025bd70

Browse files
committed
feature #32231 [HttpClient] Add support for NTLM authentication (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [HttpClient] Add support for NTLM authentication | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Someone mentioned NTLM auth on Twitter, so here we are, this adds support for it. Requires curl. Commits ------- 548f4fd0ea [HttpClient] Add support for NTLM authentication
2 parents ea557e1 + 6a83e13 commit 025bd70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DependencyInjection/Configuration.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,9 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode)
13991399
->scalarNode('auth_bearer')
14001400
->info('A token enabling HTTP Bearer authorization.')
14011401
->end()
1402+
->scalarNode('auth_ntlm')
1403+
->info('A "username:password" pair to use Microsoft NTLM authentication (requires the cURL extension).')
1404+
->end()
14021405
->arrayNode('query')
14031406
->info('Associative array of query string values merged with the base URI.')
14041407
->useAttributeAsKey('key')

0 commit comments

Comments
 (0)