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))))
1002
if (
AuthType
== AuthType.Anonymous && (newCredential != null && (!string.IsNullOrEmpty(newCredential.Password) || !string.IsNullOrEmpty(newCredential.UserName))))
1044
if (
AuthType
== AuthType.Anonymous)
1048
else if (
AuthType
== AuthType.Basic)
1068
if (
AuthType
== AuthType.Kerberos)
1085
switch (
AuthType
)
System\DirectoryServices\Protocols\ldap\LdapConnection.Linux.cs (4)
88
if (tempCredential == null && (
AuthType
== AuthType.External ||
AuthType
== AuthType.Kerberos))
115
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);