Add required grants from a JSON encoded object string.
Loads a grant from an existing JSON encoded object string. Overwrites existing grant.
@param jwt_valid Pointer to a JWT validation object. @param json String containing a JSON encoded object of grants. @return Returns 0 on success, valid errno otherwise.
See Implementation
Add required grants from a JSON encoded object string.
Loads a grant from an existing JSON encoded object string. Overwrites existing grant.
@param jwt_valid Pointer to a JWT validation object. @param json String containing a JSON encoded object of grants. @return Returns 0 on success, valid errno otherwise.