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

Commit aeb377a

Browse files
committed
Add README.md
1 parent 77878f3 commit aeb377a

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
AspNet.Security.OAuth.Extensions
2+
================================
3+
4+
**AspNet.Security.OAuth.Extensions** is a collection of **token validation middleware** for ASP.NET Core 1.0 and OWIN/Katana.
5+
6+
**The latest nightly builds can be found on [MyGet](https://www.myget.org/gallery/aspnet-contrib)**.
7+
8+
[![Build status](https://ci.appveyor.com/api/projects/status/aa7t5nfxpiri1e85/branch/dev?svg=true)](https://ci.appveyor.com/project/aspnet-contrib/aspnet-security-oauth-extensions/branch/dev)
9+
[![Build status](https://travis-ci.org/aspnet-contrib/AspNet.Security.OAuth.Extensions.svg?branch=dev)](https://travis-ci.org/aspnet-contrib/AspNet.Security.OAuth.Extensions)
10+
11+
## Get started
12+
13+
```csharp
14+
app.UseOAuthValidation(options => {
15+
options.Audiences.Add("resource_server");
16+
});
17+
```
18+
19+
```csharp
20+
app.UseOAuthIntrospection(options => {
21+
options.AutomaticAuthenticate = true;
22+
options.AutomaticChallenge = true;
23+
options.Audiences.Add("resource_server");
24+
options.Authority = "http://localhost:54540/";
25+
options.ClientId = "resource_server";
26+
options.ClientSecret = "875sqd4s5d748z78z7ds1ff8zz8814ff88ed8ea4z4zzd";
27+
});
28+
```
29+
30+
## Support
31+
32+
**Need help or wanna share your thoughts?** Don't hesitate to join our dedicated chat rooms:
33+
34+
- **JabbR: [https://jabbr.net/#/rooms/aspnet-contrib](https://jabbr.net/#/rooms/aspnet-contrib)**
35+
- **Gitter: [https://gitter.im/aspnet-contrib/AspNet.Security.OAuth.Extensions](https://gitter.im/aspnet-contrib/AspNet.Security.OAuth.Extensions)**
36+
37+
## Contributors
38+
39+
**AspNet.Security.OAuth.Extensions** is actively maintained by **[Kévin Chalet](https://github.com/PinpointTownes)**. Contributions are welcome and can be submitted using pull requests.
40+
41+
## License
42+
43+
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](http://www.apache.org/licenses/LICENSE-2.0.html) for more details.

0 commit comments

Comments
 (0)