AspNet.Security.OAuth.Extensions is a collection of token validation middleware for ASP.NET Core 1.0 and OWIN/Katana.
The latest nightly builds can be found on MyGet.
app.UseOAuthValidation(options => {
options.Audiences.Add("resource_server");
});
app.UseOAuthIntrospection(options => {
options.AutomaticAuthenticate = true;
options.AutomaticChallenge = true;
options.Audiences.Add("resource_server");
options.Authority = "http://localhost:54540/";
options.ClientId = "resource_server";
options.ClientSecret = "875sqd4s5d748z78z7ds1ff8zz8814ff88ed8ea4z4zzd";
});
Need help or wanna share your thoughts? Don't hesitate to join our dedicated chat rooms:
- JabbR: https://jabbr.net/#/rooms/aspnet-contrib
- Gitter: https://gitter.im/aspnet-contrib/AspNet.Security.OAuth.Extensions
AspNet.Security.OAuth.Extensions is actively maintained by Kévin Chalet. Contributions are welcome and can be submitted using pull requests.
This project is licensed under the Apache License. This means that you can use, modify and distribute it freely. See http://www.apache.org/licenses/LICENSE-2.0.html for more details.