14 references to AuthType
System.DirectoryServices.Protocols (14)
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (6)
79
if (
AuthType
== AuthType.Anonymous && (_directoryCredential != null && (!string.IsNullOrEmpty(_directoryCredential.Password) || !string.IsNullOrEmpty(_directoryCredential.UserName))))
996
if (
AuthType
== AuthType.Anonymous && (newCredential != null && (!string.IsNullOrEmpty(newCredential.Password) || !string.IsNullOrEmpty(newCredential.UserName))))
1038
if (
AuthType
== AuthType.Anonymous)
1042
else if (
AuthType
== AuthType.Basic)
1062
if (
AuthType
== AuthType.Kerberos)
1079
switch (
AuthType
)
System\DirectoryServices\Protocols\ldap\LdapConnection.Linux.cs (4)
102
if (tempCredential == null && (
AuthType
== AuthType.External ||
AuthType
== AuthType.Kerberos))
129
Debug.Assert(
AuthType
!= AuthType.Anonymous &&
AuthType
!= AuthType.Basic);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (4)
925
tempReferralConnection = new LdapConnection(((LdapDirectoryIdentifier)(_connection.Directory)), _connection.GetCredential(), _connection.
AuthType
, ReferralFromConnection);
990
tempReferralConnection = new LdapConnection(((LdapDirectoryIdentifier)(_connection.Directory)), _connection.GetCredential(), _connection.
AuthType
, referralFromConnection);
1015
tempNewConnection = new LdapConnection(identifier, cred, _connection.
AuthType
, newConnection);
1057
dereferenceConnection = new LdapConnection(((LdapDirectoryIdentifier)(_connection.Directory)), _connection.GetCredential(), _connection.
AuthType
, ConnectionToDereference);