Deletes the named grant from this object. It is not an error if there
is no grant matching the passed name. If grant is NULL, then all grants
are deleted from this JWT.
@param jwt_valid Pointer to a JWT validation object.
@param grant String containing the name of the grant to delete. If this
is NULL, then all grants are deleted.
@return Returns 0 on success, valid errno otherwise.
Delete a grant from this JWT object.
Deletes the named grant from this object. It is not an error if there is no grant matching the passed name. If grant is NULL, then all grants are deleted from this JWT.
@param jwt_valid Pointer to a JWT validation object. @param grant String containing the name of the grant to delete. If this is NULL, then all grants are deleted. @return Returns 0 on success, valid errno otherwise.