diff options
Diffstat (limited to 'src/mscorlib/src/System/Security/Principal')
3 files changed, 0 insertions, 70 deletions
diff --git a/src/mscorlib/src/System/Security/Principal/IIdentity.cs b/src/mscorlib/src/System/Security/Principal/IIdentity.cs deleted file mode 100644 index 2bda6c6e3d..0000000000 --- a/src/mscorlib/src/System/Security/Principal/IIdentity.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -// - -// -// -// All identities will implement this interface -// - -namespace System.Security.Principal -{ - using System.Runtime.Remoting; - using System; - using System.Security.Util; - -[System.Runtime.InteropServices.ComVisible(true)] - public interface IIdentity { - // Access to the name string - string Name { get; } - - // Access to Authentication 'type' info - string AuthenticationType { get; } - - // Determine if this represents the unauthenticated identity - bool IsAuthenticated { get; } - } -} diff --git a/src/mscorlib/src/System/Security/Principal/IPrincipal.cs b/src/mscorlib/src/System/Security/Principal/IPrincipal.cs deleted file mode 100644 index 449cfb50b2..0000000000 --- a/src/mscorlib/src/System/Security/Principal/IPrincipal.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -// - -// -// -// All roles will implement this interface -// - -namespace System.Security.Principal -{ - using System.Runtime.Remoting; - using System; - using System.Security.Util; - -[System.Runtime.InteropServices.ComVisible(true)] - public interface IPrincipal { - // Retrieve the identity object - IIdentity Identity { get; } - - // Perform a check for a specific role - bool IsInRole (string role); - } -} diff --git a/src/mscorlib/src/System/Security/Principal/TokenImpersonationLevel.cs b/src/mscorlib/src/System/Security/Principal/TokenImpersonationLevel.cs deleted file mode 100644 index 9eec46f774..0000000000 --- a/src/mscorlib/src/System/Security/Principal/TokenImpersonationLevel.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -namespace System.Security.Principal -{ - public enum TokenImpersonationLevel - { - None = 0, - Anonymous = 1, - Identification = 2, - Impersonation = 3, - Delegation = 4 - } -} |