Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
JWT data tracking. More...
#include <jwt.h>
Data Fields | |
char * | base |
The base of the buffer we are writing to. | |
char * | buf |
The place in this buffer where we are currently writing. | |
size_t | len |
The remaining free space in buf . | |
bool | overflowed |
Flag that is set if we try to write past the end of the buffer. | |
unsigned char | wip [3] |
int | pending |
JWT data tracking.
JSON Web Tokens contain several sections, each encoded in Base64URL. This structure tracks the token as it is being built, including limits on the amount of available space. It should be initialized with jwt_init_builder().
char* jwt_builder::base |
The base of the buffer we are writing to.
char* jwt_builder::buf |
The place in this buffer where we are currently writing.
size_t jwt_builder::len |
The remaining free space in buf
.
bool jwt_builder::overflowed |
Flag that is set if we try to write past the end of the buffer.
If set, the token is not valid.
int jwt_builder::pending |
unsigned char jwt_builder::wip[3] |