Skip to content

KasperskyLab/jwt-kos

Repository files navigation

JWT library adaptation for KasperskyOS

This version of the CPP-JWT library is adapted for KasperskyOS.

JSON Web Token (JWT) library creates access tokens that allow users to access resources. A server provides these tokens to clients for authentication. Typically, a user enters a user name and a password to receive the token.

For more information about the original CPP-JWT library, please refer to README.md.

Please refer to the following helpful resources for more information about:

Limitations and known issues are described in the KasperskyOS Community Edition Online Help.

Table of contents

Getting started

Prerequisites

  1. Install KasperskyOS Community Edition SDK. You can download the latest version of the KasperskyOS Community Edition for free from os.kaspersky.com. The minimum required version of the KasperskyOS Community Edition SDK is 1.2. For more information, see System requirements.
  2. Copy source files to your project directory. The example of KasperskyOS-based solution and tests are located in the ./kos directory.

Usage

When you develop a KasperskyOS-based solution, use the recommended structure of project directories to simplify usage of CMake scripts.

To include the JWT library in your KasperskyOS-based solution, add a directory with header files using the CMake command include_directories. For example:

set (JWT_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../..)
include_directories (${JWT_ROOT_DIR}/include)

Example

The project example demonstrates how to use of the adapted JWT library in a KasperskyOS-based solution. You can review the example in the ./kos/example directory.

Tests

./kos/unittests—Unit testing using the GoogleTest framework.

Trademark notices

Registered trademarks and endpoint marks are the property of their respective owners.

GoogleTest is a trademark of Google LLC.

Raspberry Pi is a trademark of the Raspberry Pi Foundation.

Contributing

Only KasperskyOS-specific changes can be approved. See CONTRIBUTING.md for detailed instructions on code contribution.

Licensing

This project is licensed under the terms of the MIT license. See LICENSE for more information.

⬆ Back to Top

© 2024 AO Kaspersky Lab

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages