2 writes to LdapConnection
Microsoft.AspNetCore.Authentication.Negotiate (2)
PostConfigureNegotiateOptions.cs (2)
76ldapSettings.LdapConnection = new LdapConnection(di); 83ldapSettings.LdapConnection = new LdapConnection(di, credentials);
10 references to LdapConnection
Microsoft.AspNetCore.Authentication.Negotiate (10)
Internal\LdapAdapter.cs (4)
47Debug.Assert(settings.LdapConnection != null); 49settings.LdapConnection.BeginSendRequest!, 50settings.LdapConnection.EndSendRequest, 73GetNestedGroups(settings.LdapConnection, identity, distinguishedName, groupCN, logger, retrievedClaims, new HashSet<string>());
LdapSettings.cs (2)
48/// The <see cref="LdapConnection"/> to be used to retrieve role claims. 55/// the <see cref="LdapConnection"/>.
PostConfigureNegotiateOptions.cs (4)
69if (ldapSettings.LdapConnection == null) 86ldapSettings.LdapConnection.SessionOptions.ProtocolVersion = 3; //Setting LDAP Protocol to latest version 87ldapSettings.LdapConnection.Timeout = TimeSpan.FromMinutes(1); 90ldapSettings.LdapConnection.Bind(); // This line actually makes the connection.