Interface OAuthRedirectUriPageRenderer
- All Known Implementing Classes:
OAuthDefaultRedirectUriPageRenderer
public interface OAuthRedirectUriPageRenderer
Renders web pages for Slack app installers.
-
Method Summary
Modifier and TypeMethodDescriptionrenderFailurePage(String installPath, String reason) Returns an HTML content for the error page.renderSuccessPage(Installer installer, String completionUrl) Returns an HTML content for the success page.
-
Method Details
-
renderSuccessPage
Returns an HTML content for the success page.- Parameters:
installer- installation informationcompletionUrl- the static URL to navigate installers- Returns:
- html content
-
renderFailurePage
Returns an HTML content for the error page.- Parameters:
installPath- the default is /slack/installreason- error reason- Returns:
- html content
-