Certbot v0.5.1 Certbot.Acme.ChallengeStore behaviour View Source

Behaviour for storing and finding challenges

Implement this behaviour for a challengestore based on another persistence mechanism.

Link to this section Summary

Link to this section Callbacks

Link to this callback

find_by_token(token)

View Source
find_by_token(token :: String.t()) ::
  {:ok, challenge :: Certbot.Challenge.t()} | {:error, String.t()}
Link to this callback

insert(challenge)

View Source
insert(challenge :: Certbot.Challenge.t()) :: :ok