Cannot set Valid Audience in latest version of IdentityModel.Tokens
<p>I have updated System.IdentityModel.Tokens.jwt and it has warned me that the use of 'Audience' in the lower code block is obsolete.  I have done some research and can see the right way to set the audience moving forwards is:</p>

<pre><code>var validationParameters = new TokenValidationParameters()
{
    ValidAudience = ConfigurationManager.AppSettings["ida:AudienceUri"]
};
</code></pre>

<blockquote>
  <p>What I can't work out is how I join the two together?</p>
</blockquote>

<pre><code>public void ConfigureAuth(IAppBuilder app)
{
     app.UseWindowsAzureActiveDirectoryBearerAuthentication( 
        new WindowsAzureActiveDirectoryBearerAuthenticationOptions 
         {
            Audience = ConfigurationManager.AppSettings["ida:AudienceUri"], 
            //TokenValidationParameters.validAudience = ConfigurationManager.AppSettings["ida:AudienceUri"],
            Tenant = ConfigurationManager.AppSettings["ida:Tenant"] 
         }); 


    app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType);
    app.UseCookieAuthentication(new CookieAuthenticationOptions()
    {
    });
    app.UseWsFederationAuthentication(
    new WsFederationAuthenticationOptions
    {
        Wtrealm = realm,
        MetadataAddress = metadata
    });
}
</code></pre>

<p>}</p>