Interface LogoutHandler

All Known Implementing Classes:
JwtCookieClearerLogoutHandler, SessionLogoutHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LogoutHandler
Responsible for logging the user out and returning an appropriate response.
Since:
1.0.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.http.MutableHttpResponse<?>
    logout(io.micronaut.http.HttpRequest<?> request)
     
  • Method Details

    • logout

      io.micronaut.http.MutableHttpResponse<?> logout(io.micronaut.http.HttpRequest<?> request)
      Parameters:
      request - The HttpRequest being executed
      Returns:
      An HttpResponse built after the user logs out