Module Mal4J

Interface AuthResponseHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AuthResponseHandler
The response handler determines what the webpage will look like after the user authenticates with MyAnimeList.
Since:
1.1.0
Version:
1.1.0
Author:
Katsute
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    getResponse(String code, String error, String message, String hint)
    Sends the response HTML given the query parameters.
  • Method Details

    • getResponse

      String getResponse(String code, String error, String message, String hint)
      Sends the response HTML given the query parameters. Some unicode characters may not render properly, use HTML entities if you encounter this problem.
      Parameters:
      code - authorization code (null if error)
      error - error (nullable)
      message - error message (nullable)
      hint - error hint (nullable)
      Returns:
      HTML string
      Since:
      1.1.0