IdentityModel.AspNetCore
RESTFulSense
IdentityModel.AspNetCore | RESTFulSense | |
---|---|---|
2 | 1 | |
288 | 227 | |
- | - | |
7.4 | 8.6 | |
almost 2 years ago | 10 days ago | |
C# | C# | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
IdentityModel.AspNetCore
-
Refresh Authentication Token on retry when using Polly
Move your AuthorizationMessageHandler to execute before your resilience policies. You can take inspiration from IdentityServer's implementation: ClientAccessTokenHandler.cs
-
Creating and Using HTTP Client SDKs in .NET 6
💡 Authentication in OAuth2/OIDC: If you need to manage user and client access tokens I suggest using IdentityModel.AspNetCore. It acquires, caches, and rotates tokens for you, see the docs.
RESTFulSense
-
Creating and Using HTTP Client SDKs in .NET 6
Honorable mentions: RestEase, RESTFulSense
What are some alternatives?
Refit - The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
RestEase - Easy-to-use typesafe REST API client library for .NET Standard 1.1 and .NET Framework 4.5 and higher, which is simple and customisable. Inspired by Refit
AspNet.Security.OAuth.Providers - OAuth 2.0 social authentication providers for ASP.NET Core
Polly - Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
autorest - OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
AvroConvert - Rapid Avro serializer for C# .NET
NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
AzureFunctions.Extensions.OpenIDConnect - OIDC / JWT Bearer Tokens authentication made easy for Azure Functions. Work with the well known ASPNET Authorize attribute. Compatible with popular identity providers including Auth0, Azure AD B2C, Azure AD, Google etc..