Interface ChallengeProvider

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

A provider that creates a Challenge from a matching JSON.
Since:
2.12
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Login login, JSON data)
    Creates a Challenge.
  • Method Details

    • create

      Challenge create(Login login, JSON data)
      Creates a Challenge.
      Parameters:
      login - Login of the user's account
      data - JSON of the challenge as sent by the CA
      Returns:
      Created and initialized Challenge. It must match the JSON type.