jaredhanson/node-tokens

View on GitHub

Showing 22 of 24 total issues

Avoid too many return statements within this function.
Open

    if (!payload.exp) { return cb(new NotValidError('Token missing required claim: exp')); }
Severity: Major
Found in lib/decode/sat.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return cb(new NotValidError('Token expired'));
    Severity: Major
    Found in lib/decode/sat.js - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language