Class UserController

java.lang.Object
com.arms.api.keycloak.user.controller.UserController

@RestController public class UserController extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Map<String,Object>>
    getUser(org.springframework.web.server.ServerWebExchange exchange, org.springframework.security.oauth2.client.OAuth2AuthorizedClient auth2AuthorizedClient)
     
    reactor.core.publisher.Mono<Void>
    logout(org.springframework.web.server.ServerWebExchange exchange)
     
    reactor.core.publisher.Mono<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 Details

    • UserController

      public UserController()
  • Method Details

    • logout

      @GetMapping("/auth-user/logout") public reactor.core.publisher.Mono<Void> logout(org.springframework.web.server.ServerWebExchange exchange)
    • sessionId

      @GetMapping("/auth-user/session-id") public reactor.core.publisher.Mono<String> sessionId(org.springframework.web.server.ServerWebExchange exchange)
    • getUser

      @GetMapping("/auth-user/me") public reactor.core.publisher.Mono<Map<String,Object>> getUser(org.springframework.web.server.ServerWebExchange exchange, @RegisteredOAuth2AuthorizedClient org.springframework.security.oauth2.client.OAuth2AuthorizedClient auth2AuthorizedClient) throws ParseException
      Throws:
      ParseException