TNOCS/node-auth

View on GitHub
src/example/server.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function callback has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const callback = (err: Error, ps: IPolicyStore) => {
  if (err) { throw err; }
  policyStore = ps;

  const auth = NodeAuth(server, <INodeAuthOptions>{
Severity: Minor
Found in src/example/server.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status