Skip to content

rmja/Akiles.ApiClient

Repository files navigation

Akiles.ApiClient

Unofficial API client for Akiles Access Control. A prerelease package is availble on nuget Akiles.ApiClient

The client is native aot compatible.

Usage

The Akiles API can be used in two ways. Either with an obtained bearer access token (see doc) or with a dedicated API key, that can be obtained through Akiles Support. The client supports both types of keys.

One can use the client manually by using the AkilesApiClient directly, or by registering the client to the DI container.

If used with a dedicated API key, register using:

services.AddAkilesApiClient(options =>
    {
        options.ApiKey = "dedicated api key";
    })

and later obtain an IAkilesApiClient clients to explore the api.

If used with an obtained bearer token, then register using:

services.AddAkilesApiClient();

and obtain the factory IAkilesApiClientFactory from which a client can be created for a given token.

Status

The implemented API surface should work, but there are missing endpoints. Feel free to create a PR if there are parts that are missing that you need.

About

Unofficial .NET API Client for Akiles Access Control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages