Class AuthController
java.lang.Object
com.MedilaboSolutions.gateway.controller.AuthController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<org.springframework.http.ResponseEntity<AuthResponse>> login
(AuthRequest authRequest, org.springframework.http.server.reactive.ServerHttpResponse response) reactor.core.publisher.Mono
<org.springframework.http.ResponseEntity<AuthResponse>> refresh
(org.springframework.web.server.ServerWebExchange exchange)
-
Constructor Details
-
AuthController
public AuthController()
-
-
Method Details
-
login
@PostMapping("/login") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AuthResponse>> login(@RequestBody AuthRequest authRequest, org.springframework.http.server.reactive.ServerHttpResponse response) -
refresh
@PostMapping("/refresh") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AuthResponse>> refresh(org.springframework.web.server.ServerWebExchange exchange)
-