Package io.micronaut.security.config
Interface RedirectService
- All Known Implementing Classes:
DefaultRedirectService
Get redirection URLs combining context path and redirect configuration.
- Since:
- 3.7.2
- Author:
- Sergio del Amo
-
Method Details
-
loginSuccessUrl
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a successful login.
-
loginFailureUrl
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a failed login.
-
logoutUrl
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after logout.
-
unauthorizedUrl
- Returns:
- where the user is redirected to after trying to access a secured route.
-
forbiddenUrl
- Returns:
- where the user is redirected to after trying to access a secured route for which the does not have sufficient roles.
-
refreshUrl
- Returns:
- where the user is redirected to after executing the refresh token endpoint.
-