Adds initial support for reading parameters passed to consent UI

This commit is contained in:
Ryan Newington
2023-11-11 16:09:12 +11:00
parent d5b3b24870
commit 28de11ee97
35 changed files with 952 additions and 19 deletions
@@ -0,0 +1,19 @@
using System;
namespace Lithnet.CredentialProvider
{
/// <summary>
/// Represents the data structure passed to consent UI in a yet unknown scenario
/// </summary>
/// <remarks>This data structure is currently unknown and only the common header values are present</remarks>
public class ConsentUIDataCredCollect : ConsentUIData
{
internal ConsentUIDataCredCollect(IntPtr pData, int expectedSize) : base(pData, expectedSize)
{
if (this.header.Type != ConsentUIType.CredCollect)
{
throw new InvalidOperationException("The data structure is not of type CredCollect");
}
}
}
}