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