MCPcopy Create free account
hub / github.com/Grashjs/cmms / refresh

Method refresh

api/src/main/java/com/grash/service/UserService.java:302–305  ·  view source on GitHub ↗
(String username)

Source from the content-addressed store, hash-verified

300 }
301
302 public String refresh(String username) {
303 return jwtTokenProvider.createToken(username,
304 Arrays.asList(userRepository.findByEmailIgnoreCase(username).get().getRole().getRoleType()));
305 }
306
307 public List<User> getAll() {
308 return userRepository.findAll();

Callers 15

createMethod · 0.45
updateMethod · 0.45
createMethod · 0.45
updateMethod · 0.45
createMethod · 0.45
updateMethod · 0.45
createMethod · 0.45
updateMethod · 0.45
createMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
createMethod · 0.45

Calls 2

createTokenMethod · 0.80
findByEmailIgnoreCaseMethod · 0.80

Tested by

no test coverage detected