Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

aspnet-contrib/AspNet.Security.OAuth.Extensions

Repository files navigation

AspNet.Security.OAuth.Extensions

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.

Build status Build status

Get started

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";
});

Support

Need help or wanna share your thoughts? Don't hesitate to join our dedicated chat rooms:

Contributors

AspNet.Security.OAuth.Extensions is actively maintained by Kévin Chalet. Contributions are welcome and can be submitted using pull requests.

License

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.