Interface OAuthRedirectUriPageRenderer

All Known Implementing Classes:
OAuthDefaultRedirectUriPageRenderer

public interface OAuthRedirectUriPageRenderer
Renders web pages for Slack app installers.
  • Method Details

    • renderSuccessPage

      String renderSuccessPage(Installer installer, String completionUrl)
      Returns an HTML content for the success page.
      Parameters:
      installer - installation information
      completionUrl - the static URL to navigate installers
      Returns:
      html content
    • renderFailurePage

      String renderFailurePage(String installPath, String reason)
      Returns an HTML content for the error page.
      Parameters:
      installPath - the default is /slack/install
      reason - error reason
      Returns:
      html content