Set validation for replicated claims in headers.
When set, validation tests for presence of iss, sub, aud in jwt headers and tests match for same claims in body.
@param jwt_valid Pointer to a JWT validation object. @param hdr When true, test header claims @return Returns 0 on success, valid errno otherwise.
@remark jwt_validate() will not fail if iss, sub, aud are not present in JWT header or body.
See Implementation
Set validation for replicated claims in headers.
When set, validation tests for presence of iss, sub, aud in jwt headers and tests match for same claims in body.
@param jwt_valid Pointer to a JWT validation object. @param hdr When true, test header claims @return Returns 0 on success, valid errno otherwise.
@remark jwt_validate() will not fail if iss, sub, aud are not present in JWT header or body.