jwt: Add JSON web token library
This patch adds a JSON web token library that adds the capability to sign JSON tokens. This was located in subsys due to the dependency on MBEDTLS, which resides in /ext. Signed-off-by: David Brown <david.brown@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
208f565bce
commit
f8b838d404
17 changed files with 882 additions and 0 deletions
4
subsys/jwt/CMakeLists.txt
Normal file
4
subsys/jwt/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS)
|
||||
zephyr_library()
|
||||
zephyr_library_sources(jwt.c)
|
||||
zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)
|
Loading…
Add table
Add a link
Reference in a new issue