Package io.micronaut.security.config
Interface RedirectService
-
- All Known Implementing Classes:
DefaultRedirectService
@DefaultImplementation(DefaultRedirectService.class) public interface RedirectService
Get redirection URLs combining context path and redirect configuration.- Since:
- 3.7.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringforbiddenUrl()java.lang.StringloginFailureUrl()java.lang.StringloginSuccessUrl()java.lang.StringlogoutUrl()java.lang.StringrefreshUrl()java.lang.StringunauthorizedUrl()
-
-
-
Method Detail
-
loginSuccessUrl
@NonNull java.lang.String loginSuccessUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a successful login.
-
loginFailureUrl
@NonNull java.lang.String loginFailureUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a failed login.
-
logoutUrl
@NonNull java.lang.String logoutUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after logout.
-
unauthorizedUrl
@NonNull java.lang.String unauthorizedUrl()
- Returns:
- where the user is redirected to after trying to access a secured route.
-
forbiddenUrl
@NonNull java.lang.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 java.lang.String refreshUrl()
- Returns:
- where the user is redirected to after executing the refresh token endpoint.
-
-