Class HttpChallengeDetails

java.lang.Object
io.micronaut.acme.challenge.http.endpoint.HttpChallengeDetails

public final class HttpChallengeDetails extends Object
Contains the details needed to satisfy a passing http-01 challenge from the acme challenge server.
  • Constructor Details

    • HttpChallengeDetails

      public HttpChallengeDetails(String token, String content)
      Constructs a new http challenge token/content pair.
      Parameters:
      token - passed from challenge server
      content - expected content back to the challenge server
  • Method Details

    • getContent

      public String getContent()
      Returns:
      the content expected to be returned to the challenge server.
    • getToken

      public String getToken()
      Returns:
      token expected to be passed from the challenge server.