jaredhanson/node-tokens

View on GitHub

Showing 24 of 24 total issues

Avoid too many return statements within this function.
Open

      return cb(ex);
Severity: Major
Found in lib/decode/sat.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

            return cb(null, claims);
      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 not intended for recipient'));
        Severity: Major
        Found in lib/decode/sat.js - About 30 mins to fix
          Severity
          Category
          Status
          Source
          Language