Created
July 7, 2025 19:13
-
-
Save jeffersonchaves/230214e9edb3402f54a1b423c95c6bd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RestController | |
public class AuthenticationResource { | |
@Autowired | |
private AuthenticationService authenticationService; | |
@PostMapping("/authenticate") | |
public String authenticate(Authentication authentication){ | |
return authenticationService.authenticate(authentication); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment