Skip to content

Challenges

lacme.challenges

ACME challenge handlers.

Defines the :class:ChallengeHandler protocol implemented by :class:~lacme.challenges.http01.HTTP01Handler and (future) DNS-01 handlers.

ChallengeHandler

Bases: Protocol

Protocol for ACME challenge provisioning and cleanup.

deprovision async
deprovision(domain: str, token: str) -> None

Remove the challenge response after validation completes.

provision async
provision(domain: str, token: str, key_authorization: str) -> None

Make the challenge response available for validation.