public interface LoginHandler
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpResponse |
loginFailed(AuthenticationFailed authenticationFailed) |
io.micronaut.http.HttpResponse |
loginSuccess(UserDetails userDetails,
io.micronaut.http.HttpRequest<?> request) |
io.micronaut.http.HttpResponse loginSuccess(UserDetails userDetails, io.micronaut.http.HttpRequest<?> request)
userDetails
- Authenticated user's representation.request
- The HttpRequest
being executedio.micronaut.http.HttpResponse loginFailed(AuthenticationFailed authenticationFailed)
authenticationFailed
- Object encapsulates the Login failure