The smart-me Api Client Library enables you to integrate smart-me API functionality into your .Net application. It makes HTTP requests to the smart-me REST API (see here). All HTTP request and response bodies are mapped to .Net classes.
First you need a smart-me login which you can create here.
See the Console Application Example project in Src/Example. Set your username and password in Credentials.json. Please keep your username and password private.
See the Web Application Example project in Src/OAuthWebExample. Set your OAuth2 client id and secret in appsettings.json. Contact us to provide you with a client id and secret. Please keep your client id and secret private.
See the Web Application Example project in Src/OidcWebExample. Set your Openid Connect client id, secret and authority in appsettings.json. See the description on how to setup an external Openid Connect identity provider using Okta. See the smart-me wiki on how to register the external Openid Connect identity provider.
- .Net Framework 4.7.2+
- .Net Core 2.1+