You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -33,6 +33,10 @@ using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Security.Principal;
|
||||
using System.Security.Permissions;
|
||||
using System.Security.Authentication.ExtendedProtection;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace System.Net.Security
|
||||
{
|
||||
@@ -272,6 +276,60 @@ namespace System.Net.Security
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsClientAsync()
|
||||
{
|
||||
return Task.Factory.FromAsync(BeginAuthenticateAsClient, EndAuthenticateAsClient, null);
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsClientAsync(NetworkCredential credential, string targetName)
|
||||
{
|
||||
return Task.Factory.FromAsync(BeginAuthenticateAsClient, EndAuthenticateAsClient, credential, targetName, null);
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsClientAsync(
|
||||
NetworkCredential credential, string targetName,
|
||||
ProtectionLevel requiredProtectionLevel,
|
||||
TokenImpersonationLevel allowedImpersonationLevel)
|
||||
{
|
||||
return Task.Factory.FromAsync((callback, state) => BeginAuthenticateAsClient(credential, targetName, requiredProtectionLevel, allowedImpersonationLevel, callback, state), EndAuthenticateAsClient, null);
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, string targetName)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsClientAsync(
|
||||
NetworkCredential credential, ChannelBinding binding,
|
||||
string targetName, ProtectionLevel requiredProtectionLevel,
|
||||
TokenImpersonationLevel allowedImpersonationLevel)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsServerAsync()
|
||||
{
|
||||
return Task.Factory.FromAsync(BeginAuthenticateAsServer, EndAuthenticateAsServer, null);
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsServerAsync(ExtendedProtectionPolicy policy)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsServerAsync(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public virtual Task AuthenticateAsServerAsync(
|
||||
NetworkCredential credential, ExtendedProtectionPolicy policy,
|
||||
ProtectionLevel requiredProtectionLevel,
|
||||
TokenImpersonationLevel requiredImpersonationLevel)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
#endregion // Methods
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user