Showing 24 of 24 total issues
Avoid too many return
statements within this function. Open
Open
return cb(ex);
Avoid too many return
statements within this function. Open
Open
if (!payload.aud) { return cb(new NotValidError('Token missing required claim: aud')); }
Avoid too many return
statements within this function. Open
Open
return cb(null, claims);
Avoid too many return
statements within this function. Open
Open
return cb(new NotValidError('Token not intended for recipient'));