This repository was archived by the owner on Jul 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Microsoft.Alm.Authentication Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public async Task<Credential> AcquireCredentials(TargetUri targetUri)
109
109
_httpAuthenticateOptions = await WwwAuthenticateHelper . GetHeaderValues ( targetUri ) ;
110
110
}
111
111
112
- // If the headers contain NTML as an option, then fall back to NTLM.
112
+ // If the headers contain NTLM as an option, then fall back to NTLM.
113
113
if ( _httpAuthenticateOptions . Any ( x => WwwAuthenticateHelper . IsNtlm ( x ) ) )
114
114
{
115
115
Git . Trace . WriteLine ( $ "'{ targetUri } ' supports NTLM, sending NTLM credentials instead") ;
Original file line number Diff line number Diff line change @@ -29,19 +29,19 @@ public enum NtlmSupport
29
29
{
30
30
/// <summary>
31
31
/// <para>
32
- /// The authentication class should attempt to detect and prefer NTML credentials over basic credentials.
32
+ /// The authentication class should attempt to detect and prefer NTLM credentials over basic credentials.
33
33
/// </para>
34
34
/// <para>This is the default.</para>
35
35
/// </summary>
36
36
Auto ,
37
37
38
38
/// <summary>
39
- /// The authentication class should only detect and return NTML credentials.
39
+ /// The authentication class should only detect and return NTLM credentials.
40
40
/// </summary>
41
41
Never ,
42
42
43
43
/// <summary>
44
- /// The authentication class should never detect nor return NTML credentials.
44
+ /// The authentication class should never detect nor return NTLM credentials.
45
45
/// </summary>
46
46
Always ,
47
47
}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public static async Task<AuthenticationHeaderValue[]> GetHeaderValues(TargetUri
68
68
}
69
69
catch ( Exception exception )
70
70
{
71
- Git . Trace . WriteLine ( "error testing targetUri for NTML : " + exception . Message ) ;
71
+ Git . Trace . WriteLine ( "error testing targetUri for NTLM : " + exception . Message ) ;
72
72
}
73
73
}
74
74
You can’t perform that action at this time.
0 commit comments