Custom Authentication in ASP.Net-Core : <p>I am working on a web app that needs to integrate with an existing user database. I would still like to use the <code>[Authorize]</code> attributes, but I don't want to use the Identity framework. If I did want to use the Identity framework I would add something like this in the startup.cs file:</p>

<pre><code>services.AddIdentity&lt;ApplicationUser, IdentityRole&gt;(options =&gt;
{
    options.Password.RequireNonLetterOrDigit = false;
}).AddEntityFrameworkStores&lt;ApplicationDbContext&gt;()
  .AddDefaultTokenProviders();
</code></pre>

<p>I'm assuming I have to add something else there, and then create some kind of class that implements a specific interface? Can somebody point me in the right direction? I'm using RC1 of of asp.net 5 right now.</p>
