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