Zephyr Project API 3.7.0
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 length remaining to write. | |
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 base-64. 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().
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 length remaining to write.
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] |