Returns the string value for a header (e.g. ""). If it does not exist,
NULL will be returned.
@param jwt Pointer to a JWT object.
@param header String containing the name of the header to return a value
for.
@return Returns a string for the value, or NULL when not found.
Note, this will only return headers with JSON string values. Use
jwt_get_header_json() to get the JSON representation of more complex
values (e.g. arrays) or use jwt_get_header_int() to get simple integer
values.
Return the value of a string header.
Returns the string value for a header (e.g. ""). If it does not exist, NULL will be returned.
@param jwt Pointer to a JWT object. @param header String containing the name of the header to return a value for. @return Returns a string for the value, or NULL when not found.
Note, this will only return headers with JSON string values. Use jwt_get_header_json() to get the JSON representation of more complex values (e.g. arrays) or use jwt_get_header_int() to get simple integer values.