Package de.trustable.ca3s.core.web.rest
Class UserJWTController
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.UserJWTController
-
@RestController @RequestMapping("/api") public class UserJWTController extends ObjectController to authenticate users.
-
-
Constructor Summary
Constructors Constructor Description UserJWTController(TokenProvider tokenProvider, org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder, UserUtil userUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<JWTToken>authorize(@Valid LoginVM loginVM)
-
-
-
Constructor Detail
-
UserJWTController
public UserJWTController(TokenProvider tokenProvider, org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder, UserUtil userUtil)
-
-