1C JWT ===== This is a pure 1C implementation of `RFC 7519 `. Limitations ----------- This implementation works only on 1C:Enterprise platform version 8.3.10.2168 or above. The platform you may download here: Supported algorithm HS256 only. Installing ---------- Download modules Cryptography.bsl and JWT.bsl. Put modules into the 1C application. Usage ----- ``` SecretKey = "secret"; Payload = New Structure; Payload.Insert("sub", "1234567890"); Payload.Insert("name", "John Doe"); Payload.Insert("admin", True); Token = JWT.Encode(SecretKey, Payload); DecodedPayload = JWT.Decode(Token, SecretKey); ``` Credits and License ------------------- Author: Vasily Pintov License: MIT