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

◆ AuthenticateAsClientAsync() [3/5]

virtual Task System.Net.Security.NegotiateStream.AuthenticateAsClientAsync ( NetworkCredential credential,
ChannelBinding? binding,
string targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel )
inlinevirtual

Definition at line 417 of file NegotiateStream.cs.

418 {
419 ValidateCreateContext("Negotiate", isServer: false, credential, targetName, binding, requiredProtectionLevel, allowedImpersonationLevel);
420 return AuthenticateAsync(new AsyncReadWriteAdapter(base.InnerStream, default(CancellationToken)), "AuthenticateAsClientAsync");
421 }
void ValidateCreateContext(string package, NetworkCredential credential, string servicePrincipalName, ExtendedProtectionPolicy policy, ProtectionLevel protectionLevel, TokenImpersonationLevel impersonationLevel)

References System.Net.Security.NegotiateStream.ValidateCreateContext().