IdentityModel is a .NET library for claims-based identity, OAuth 2.0 and OpenID Connect.
Important
IdentityModel
is being rebranded to Duende.IdentityModel
and henceforth will be managed
in our FOSS repository under the same Apache2 licence.
- Please update your nuget package references to the new package.
- Outstanding pull requests and issues will be ported or closed.
It provides an object model to interact with the endpoints defined in the various OAuth and OpenId Connect specifications in the form of:
- types to represent the requests and responses
- extension methods to invoke requests
- constants defined in the specifications, such as standard scope, claim, and parameter names
- other convenience methods for performing common identity related operations
IdentityModel targets .NET Standard 2.0, making it suitable for .NET and .NET Framework.
For more documentation, please visit readthedocs.
- Certified OIDC client library for native apps: IdentityModel.OidcClient
- Id token validator for IdentityModel.OidcClient based on the Microsoft JWT handler: IdentityModel.OidcClient.IdentityTokenValidator
- DPoP extensions for IdentityModel.OidcClient: IdentityModel.OidcClient.DPoP
- Authentication handler for introspection tokens: IdentityModel.AspNetCore.OAuth2Introspection
IdentityModel is released as open source under the Apache 2.0 license. Bug reports and contributions are welcome at the GitHub repository.