jwt_valid_get_grants_json

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_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. The returned string must be freed by the caller.

extern (C) nothrow @nogc
char*
jwt_valid_get_grants_json
(,
const(char)* grant
)

Meta