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
@NonNull String loginSuccessUrl()- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a successful login.
-
loginFailureUrl
@NonNull String loginFailureUrl()- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a failed login.
-
logoutUrl
@NonNull String logoutUrl()- Returns:
- String to be parsed into a URI which represents where the user is redirected to after logout.
-
unauthorizedUrl
@NonNull String unauthorizedUrl()- Returns:
- where the user is redirected to after trying to access a secured route.
-
forbiddenUrl
@NonNull String forbiddenUrl()- Returns:
- where the user is redirected to after trying to access a secured route for which the does not have sufficient roles.
-
refreshUrl
@NonNull String refreshUrl()- Returns:
- where the user is redirected to after executing the refresh token endpoint.
-