AI.Klleon.SDK
2025.2.19.18
dotnet add package AI.Klleon.SDK --version 2025.2.19.18
NuGet\Install-Package AI.Klleon.SDK -Version 2025.2.19.18
<PackageReference Include="AI.Klleon.SDK" Version="2025.2.19.18" />
<PackageVersion Include="AI.Klleon.SDK" Version="2025.2.19.18" />
<PackageReference Include="AI.Klleon.SDK" />
paket add AI.Klleon.SDK --version 2025.2.19.18
#r "nuget: AI.Klleon.SDK, 2025.2.19.18"
#addin nuget:?package=AI.Klleon.SDK&version=2025.2.19.18
#tool nuget:?package=AI.Klleon.SDK&version=2025.2.19.18
AI.Klleon.SDK
AI.Klleon.SDK is a lightweight NuGet package that provides easy integration with the Klleon SDK for Web API applications. This library helps developers authenticate Klleon SDK keys efficiently
Features
- Validate SDK Key and Avatar ID.
- Simple dependency injection setup.
- Seamless integration with ASP.NET Core applications.
Installation
You can install this library via NuGet Package Manager:
dotnet add package AI.Klleon.SDK
Configuration
Inject IKlleonAuthService
into your service or controller:
[ApiController]
[Route("api/auth")]
public class KlleonAuthController : ControllerBase
{
private readonly IKlleonAuthService _authService;
public KlleonAuthController(IKlleonAuthService authService)
{
_authService = authService;
}
[HttpPost("validate")]
public async Task<IActionResult> Validate([FromBody] AuthRequest request)
{
var result = await _authService.ValidateCredentialsAsync(request.SdkKey, request.AvatarId);
if (result.IsSuccess)
return Ok(result.Message);
return BadRequest(result.Message);
}
}
Usage
This library provides a simple way to integrate Klleon SDK authentication into your application. Once configured, the service can validate the provided SDK key.
Contact
For any questions, feel free to contact me or create an issue in the repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.Options (>= 9.0.2)
- Newtonsoft.Json (>= 13.0.3)
- PuppeteerSharp (>= 20.1.1)
- System.Net.Http (>= 4.3.4)
-
net7.0
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.Options (>= 9.0.2)
- Newtonsoft.Json (>= 13.0.3)
- PuppeteerSharp (>= 20.1.1)
- System.Net.Http (>= 4.3.4)
-
net8.0
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.Options (>= 9.0.2)
- Newtonsoft.Json (>= 13.0.3)
- PuppeteerSharp (>= 20.1.1)
- System.Net.Http (>= 4.3.4)
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.Options (>= 9.0.2)
- Newtonsoft.Json (>= 13.0.3)
- PuppeteerSharp (>= 20.1.1)
- System.Net.Http (>= 4.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2025.2.19.18 | 191 | 2 months ago | |
2025.2.19 | 90 | 2 months ago |