Files
mirror-processhacker/1.x/trunk/ProcessHacker.Native/Security/Authentication/IAuthenticationPackage.cs
T
wj32 c9016e692c added CredUI code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2382 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-11-28 22:30:44 +00:00

38 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace ProcessHacker.Native.Security.Authentication
{
public interface IAuthenticationPackage
{
/// <summary>
/// Gets the name of the authentication package.
/// This name must be recognizable by the LSA.
/// </summary>
string PackageName { get; }
/// <summary>
/// Gets a buffer containing authentication information.
/// The format of the information is specific to the
/// package.
/// </summary>
/// <returns>A memory region containing the information.</returns>
MemoryRegion GetAuthData();
/// <summary>
/// Parses a buffer and returns profile-related information
/// specific to the package.
/// </summary>
/// <param name="buffer">A buffer containing profile information.</param>
/// <returns>A package-specific object containing profile information.</returns>
object GetProfileData(MemoryRegion buffer);
/// <summary>
/// Populates the appropriate class fields from authentication information.
/// </summary>
/// <returns>A memory region containing the information.</returns>
void ReadAuthData(MemoryRegion buffer);
}
}