SDKs and client libraries
Software development kits (SDKs), client libraries, and client samples enable you to quickly integrate your client application with 10Duke Enterprise and to easily implement features such as user authentication using OpenID Connect (OIDC), API authorization, and license consumption.
SDKs
10Duke publishes and maintains open-source SDKs on GitLab.
All the SDKs cover:
-
Authentication using OIDC and getting an access token for making authorized calls to the 10Duke APIs.
-
License consumption, license lease renewal, and license release.
-
Support for serializing the content of license tokens into a string for offline storage.
See more in each SDK’s documentation on GitLab as well as the developer guide on this documentation site.
.NET
The SDK for .NET:
https://gitlab.com/10Duke/enterprise/dotnet/dotnet-enterprise-sdk
C++
The SDK for C++:
https://gitlab.com/10Duke/enterprise/cpp/licensing-client
Client libraries and samples
10Duke publishes and maintains a number of client libraries and sample applications on GitHub. They provide a simple and flexible way to access the 10Duke API functionality using your preferred language and framework.
All the client libraries and sample applications enable you to implement user authentication in your client application using OIDC and get an access token for making authorized calls to the 10Duke APIs.
Some of the libraries and samples also enable you to implement license consumption and other features.
See more in the client library and sample application documentation on GitHub as well as the developer guide on this documentation site.
Java
JavaFX client library for desktop applications, with a sample application. Provides authentication using OIDC (authorization code grant flow with PKCE).
https://github.com/10Duke/10duke-java-client
.NET
Several .NET client libraries, for example, for desktop and web applications. Most of the libraries provide authentication using OIDC (authorization code grant flow with or without PKCE), license consumption, and license release. With the ASP.NET libraries, use ASP.NET features to implement the authentication.
These libraries will receive security updates and limited maintenance until further notice. New feature development is limited to the 10Duke Enterprise SDK for .NET.
https://github.com/10Duke/10duke-dotnet-client
Client library for browser-based applications
A client library for browser-based applications that covers authentication using OIDC (authorization code grant flow with PKCE), license consumption and release, and single logout (SLO).
https://github.com/10Duke/10duke-web-client-pkce
Angular
A sample client application that provides authentication using OIDC (authorization code grant flow with PKCE).
https://github.com/10Duke/ng-sso-authzcode-pkce-sample
React
A sample client application that provides authentication using OIDC (authorization code grant flow with PKCE), license consumption and release, and single logout (SLO).