C# Class System.Net.Security.Tests.NegotiateStreamStreamToStreamTest

Mostrar archivo Open project: dotnet/corefx

Protected Methods

Method Description
AuthenticateAsClientAsync ( NegotiateStream client, NetworkCredential credential, string targetName ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( NegotiateStream server ) : System.Threading.Tasks.Task

Private Methods

Method Description
NegotiateStream_StreamToStream_Authentication_EmptyCredentials_Fails ( ) : void
NegotiateStream_StreamToStream_Authentication_Success ( ) : void
NegotiateStream_StreamToStream_Authentication_TargetName_Success ( ) : void
NegotiateStream_StreamToStream_Successive_ClientWrite_Async_Success ( ) : void
NegotiateStream_StreamToStream_Successive_ClientWrite_Sync_Success ( ) : void

Method Details

AuthenticateAsClientAsync() protected abstract method

protected abstract AuthenticateAsClientAsync ( NegotiateStream client, NetworkCredential credential, string targetName ) : System.Threading.Tasks.Task
client NegotiateStream
credential NetworkCredential
targetName string
return System.Threading.Tasks.Task

AuthenticateAsServerAsync() protected abstract method

protected abstract AuthenticateAsServerAsync ( NegotiateStream server ) : System.Threading.Tasks.Task
server NegotiateStream
return System.Threading.Tasks.Task