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 Type
    Method
    Description
    io.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 request
      authorizationEndpoint - The autorization endpoint
      Returns:
      The URL