Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserController

        public UserController()
    • 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