I am trying generate an Azure AD token but i am getting an error with the following;
var authParam = new PlatformParameters(PromptBehavior.Auto);
The error is;
There is no argument given that corresponds to the required formal parameter 'customWebUI' of 'PlatformParameters.PlatformParameters(PromptBehabior, ICustomWebUi)
I have tried adding;
var authParam = new PlatformParameters(PromptBehavior.Auto, true);
But with that i get;
cannot convert from 'bool' to Microsoft.IdentityModel.Clients.ActiveDirectory.Extensibility.ICustomWebUi'
I am missing something?