Package com.arms.api.user.controller
Class UserController
- java.lang.Object
-
- com.arms.api.user.controller.UserController
-
@RestController public class UserController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UserController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.util.Map<java.lang.String,java.lang.Object>>
getUser(org.springframework.web.server.ServerWebExchange exchange, org.springframework.security.oauth2.client.OAuth2AuthorizedClient auth2AuthorizedClient)
reactor.core.publisher.Mono<java.lang.Void>
logout(org.springframework.web.server.ServerWebExchange exchange)
reactor.core.publisher.Mono<java.lang.String>
sessionId(org.springframework.web.server.ServerWebExchange exchange)
-
-
-
Method Detail
-
logout
@GetMapping("/auth-user/logout") public reactor.core.publisher.Mono<java.lang.Void> logout(org.springframework.web.server.ServerWebExchange exchange)
-
sessionId
@GetMapping("/auth-user/session-id") public reactor.core.publisher.Mono<java.lang.String> sessionId(org.springframework.web.server.ServerWebExchange exchange)
-
getUser
@GetMapping("/auth-user/me") public reactor.core.publisher.Mono<java.util.Map<java.lang.String,java.lang.Object>> getUser(org.springframework.web.server.ServerWebExchange exchange, @RegisteredOAuth2AuthorizedClient org.springframework.security.oauth2.client.OAuth2AuthorizedClient auth2AuthorizedClient) throws java.text.ParseException
- Throws:
java.text.ParseException
-
-