Interface EndSessionController
- All Known Implementing Classes:
DefaultEndSessionController
public interface EndSessionController
Handles a log out request that redirects to an OpenID provider.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionOptional<io.micronaut.http.MutableHttpResponse<?>>
endSession
(io.micronaut.http.HttpRequest<?> request, Authentication authentication) Performs and end session redirect to an OpenID provider.
-
Method Details
-
endSession
@Secured("isAuthenticated()") @Executable Optional<io.micronaut.http.MutableHttpResponse<?>> endSession(io.micronaut.http.HttpRequest<?> request, Authentication authentication) Performs and end session redirect to an OpenID provider.- Parameters:
request
- The current requestauthentication
- The current authentication- Returns:
- A redirecting http response
-