Coverage for certbot/achallenges.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Client annotated ACME challenges.
Please use names such as ``achall`` to distinguish from variables "of type" :class:`acme.challenges.Challenge` (denoted by ``chall``) and :class:`.ChallengeBody` (denoted by ``challb``)::
from acme import challenges from acme import messages from certbot import achallenges
chall = challenges.DNS(token='foo') challb = messages.ChallengeBody(chall=chall) achall = achallenges.DNS(chall=challb, domain='example.com')
Note, that all annotated challenges act as a proxy objects::
achall.token == challb.token
"""
# pylint: disable=too-few-public-methods
"""Client annotated challenge.
Wraps around server provided challenge and annotates with data useful for the client.
:ivar challb: Wrapped `~.ChallengeBody`.
"""
"""Client annotated `KeyAuthorizationChallenge` challenge."""
"""Generate response and validation.""" self.account_key, *args, **kwargs)
"""Client annotated "dns" ACME challenge.""" |