Eryph .NET library for claims-based identity and client authentication
Features:
- HttpClient extensions to retrieve access token from Eryph identity server (Eryph.IdentityModel)
- common types for Eryph clients (Eryph.IdentityModel.Clients)
- private key handling for Eryph clients (Eryph.IdentityModel.Clients)
.NET
The library requires .NET Standard 2.0 or higher.
All platforms and runtimes (.NET Framework / .NET Core / all .NET supported operating systems) are supported.
The packages of this library (Eryph.IdentityModel and Eryph.IdentityModel.Client) are currently only available as CI build on the dbosoft public nuget feed:
https://dev.azure.com/dbosoft/public/_packaging?_a=feed&feed=Public
Take a look at the Using section learning how to configure.
This sample shows how to lookup a client from the current system and requests an access token from the eryph identity service. You will have to add a reference to the Eryph.ClientRuntime.Configuration nuget package to use this example.
//the client lookup searches for a valid client.
var lookup = new ClientCredentialsLookup(new DefaultEnvironment());
var credentials = lookup.FindCredentials();
//request access token from the identity endpoint
var token = await credentials.GetAccessToken();
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Frank Wagner - Initial work - fw2568
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details