title: Missing extension method AddJwtBearerAuthentication() for IServiceCollection in .NET Core 2.0
body: <p>I have updated my project from Core 1.1 to Core 2.0 using instructions from <a href="https://blogs.msdn.microsoft.com/webdev/2017/08/14/announcing-asp-net-core-2-0/" rel="noreferrer">https://blogs.msdn.microsoft.com/webdev/2017/08/14/announcing-asp-net-core-2-0/</a>
  (updated target framework to .NET Core 2.0 and used metapackage Microsoft.AspNetCore.All). I have updated all possible nuget packages to latest versions as well.</p>
  
  <p>In .NET Core 1.1 i was adding JWT Bearer Authentication this way:</p>
  
  <pre><code>app.UseJwtBearerAuthentication(); // from Startup.Configure()
  </code></pre>
  
  <p>As per <a href="http://www.talkingdotnet.com/whats-new-in-asp-net-core-2-0/" rel="noreferrer">http://www.talkingdotnet.com/whats-new-in-asp-net-core-2-0/</a> for Core 2.0 the new way is to call:</p>
  
  <pre><code>services.AddJwtBearerAuthentication(); // from Startup.ConfigureServices()
  </code></pre>
  
  <p>But the method <strong>AddJwtBearerAuthentication()</strong> is absent. The package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 is installed.</p>
  
  <p>New empty Core 2.0 projects (with JwtBearer package) are also does not have extension method AddJwtBearerAuthentication() for IServiceCollection.</p>
  
  <p>The old method <strong>app.UseJwtBearerAuthentication()</strong> does not compile at all:</p>
  
  <pre><code>Error   CS0619  'JwtBearerAppBuilderExtensions.UseJwtBearerAuthentication(IApplicationBuilder, JwtBearerOptions)' is obsolete: 'See https://go.microsoft.com/fwlink/?linkid=845470'
  </code></pre>
  
  <p>Please help.</p>