id: 1 unit: export function loginUser() file: webapp/src/utils/auth.js start line: 6 end line: 15 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 2 unit: export function getUsername() file: webapp/src/utils/auth.js start line: 52 end line: 61 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 3 unit: function getTokenExpirationDate() file: webapp/src/utils/auth.js start line: 72 end line: 82 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 4 unit: export function setAuthToken() file: webapp/src/utils/auth.js start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 5 unit: function getTokenSub() file: webapp/src/utils/auth.js start line: 63 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: export function isLoggedIn() file: webapp/src/utils/auth.js start line: 39 end line: 44 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: export function clearAuthToken() file: webapp/src/utils/auth.js start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: export function getUserInfo() file: webapp/src/utils/auth.js start line: 46 end line: 50 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 9 unit: export function sleep() file: webapp/src/utils/core.js start line: 1 end line: 5 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 10 unit: function isTokenExpired() file: webapp/src/utils/auth.js start line: 84 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: beforeEnter() file: webapp/src/router.js start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 12 unit: export function logoutUser() file: webapp/src/utils/auth.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: export function getAuthToken() file: webapp/src/utils/auth.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0