Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Authenticate()

Authorization System.Net.Mail.SmtpNtlmAuthenticationModule.Authenticate ( string challenge,
NetworkCredential credential,
object sessionCookie,
string spn,
ChannelBinding channelBindingToken )
inline

Implements System.Net.Mail.ISmtpAuthenticationModule.

Definition at line 16 of file SmtpNtlmAuthenticationModule.cs.

17 {
18 try
19 {
21 {
23 {
24 if (credential == null)
25 {
26 return null;
27 }
29 }
30 string outgoingBlob = value.GetOutgoingBlob(challenge);
31 if (!value.IsCompleted)
32 {
34 }
37 }
38 }
39 catch (NullReferenceException)
40 {
41 return null;
42 }
43 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
readonly Dictionary< object, System.Net.NTAuthentication > _sessions

References System.Net.Mail.SmtpNtlmAuthenticationModule._sessions, System.Net.Authorization, System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.