30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Security.Principal
|
|
{
|
|
/// <summary>Defines the basic functionality of an identity object.</summary>
|
|
// Token: 0x020005AB RID: 1451
|
|
[ComVisible(true)]
|
|
public interface IIdentity
|
|
{
|
|
/// <summary>Gets the type of authentication used.</summary>
|
|
/// <returns>The type of authentication used to identify the user.</returns>
|
|
// Token: 0x17000A6A RID: 2666
|
|
// (get) Token: 0x0600351D RID: 13597
|
|
string AuthenticationType { get; }
|
|
|
|
/// <summary>Gets a value that indicates whether the user has been authenticated.</summary>
|
|
/// <returns>true if the user was authenticated; otherwise, false.</returns>
|
|
// Token: 0x17000A6B RID: 2667
|
|
// (get) Token: 0x0600351E RID: 13598
|
|
bool IsAuthenticated { get; }
|
|
|
|
/// <summary>Gets the name of the current user.</summary>
|
|
/// <returns>The name of the user on whose behalf the code is running.</returns>
|
|
// Token: 0x17000A6C RID: 2668
|
|
// (get) Token: 0x0600351F RID: 13599
|
|
string Name { get; }
|
|
}
|
|
}
|