Now with consistent namespaces and using statement sorting.
This commit is contained in:
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
public class ClientCredential : Credential
|
||||
{
|
||||
|
||||
@@ -8,8 +8,9 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using NSspi.Credentials;
|
||||
using NSspi.Credentials.Credentials;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
public class Credential : IDisposable
|
||||
{
|
||||
@@ -40,11 +41,11 @@ namespace NSspi
|
||||
{
|
||||
packageName = PackageNames.Kerberos;
|
||||
}
|
||||
else if ( package == NSspi.SecurityPackage.Negotiate )
|
||||
else if ( package == SecurityPackage.Negotiate )
|
||||
{
|
||||
packageName = PackageNames.Negotiate;
|
||||
}
|
||||
else if ( package == NSspi.SecurityPackage.NTLM )
|
||||
else if ( package == SecurityPackage.NTLM )
|
||||
{
|
||||
packageName = PackageNames.Ntlm;
|
||||
}
|
||||
|
||||
@@ -6,8 +6,9 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using NSspi.Credentials;
|
||||
using NSspi.Credentials.Credentials;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
internal static class CredentialNativeMethods
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
public enum SecurityPackage
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
/*
|
||||
#define SECPKG_CRED_ATTR_NAMES 1
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
public enum CredentialType
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
public enum CredentialUse : uint
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi.Credentials
|
||||
namespace NSspi.Credentials.Credentials
|
||||
{
|
||||
[StructLayout( LayoutKind.Sequential )]
|
||||
public struct QueryNameAttribCarrier
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi
|
||||
namespace NSspi.Credentials
|
||||
{
|
||||
public class ServerCredential : Credential
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user