Interface AuthorizationRedirectHandler
- All Known Implementing Classes:
DefaultAuthorizationRedirectHandler
@DefaultImplementation(DefaultAuthorizationRedirectHandler.class)
public interface AuthorizationRedirectHandler
Responsible for redirecting to an OAuth 2.0 provider
for authentication.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.MutableHttpResponse<?>
redirect
(AuthorizationRequest authorizationRequest, String authorizationEndpoint) Builds the URL string to redirect to.
-
Method Details
-
redirect
io.micronaut.http.MutableHttpResponse<?> redirect(AuthorizationRequest authorizationRequest, String authorizationEndpoint) Builds the URL string to redirect to.- Parameters:
authorizationRequest
- The authorization requestauthorizationEndpoint
- The autorization endpoint- Returns:
- The URL
-