Class LogoutController

java.lang.Object
org.odpi.openmetadata.userauthn.LogoutController

@RestController @RequestMapping("/api/logout") public class LogoutController extends Object
LogoutController provides the REST API to log out a user.
  • Constructor Details

    • LogoutController

      public LogoutController()
  • Method Details

    • logout

      @GetMapping public void logout(jakarta.servlet.http.HttpServletRequest request) throws org.springframework.web.client.HttpClientErrorException
      Remove details of the token.
      Parameters:
      request - HTTP request
      Throws:
      org.springframework.web.client.HttpClientErrorException - problem with the request