Return the value of a grant as JSON encoded object string.
Returns the JSON encoded string value for a grant (e.g. "iss"). If it
does not exist, NULL will be returned.
@param jwt Pointer to a JWT object.
@param grant String containing the name of the grant to return a value
for. If this is NULL, all grants will be returned as a JSON encoded
hash.
@return Returns a string for the value, or NULL when not found. The
returned string must be freed by the caller.
Return the value of a grant as JSON encoded object string.
Returns the JSON encoded string value for a grant (e.g. "iss"). If it does not exist, NULL will be returned.
@param jwt Pointer to a JWT object. @param grant String containing the name of the grant to return a value for. If this is NULL, all grants will be returned as a JSON encoded hash. @return Returns a string for the value, or NULL when not found. The returned string must be freed by the caller.