Files
certbot-certbot-1/certbot/examples/plugins/certbot_example_plugins.py
Adrien FerrandandGitHub 143ea15253 Remove all non essential references to the old Zope interfaces (#8988)
As a follow-up to #8971, this PR removes all references to the old Zope interfaces, except the ones used to deprecate them and prepare for their removal.

In the process, some documentation and tests about the `Display` objects are simply removed since they are not relevant anymore given that they are removed from the public API.

* Cleanup some interfaces.IInstaller

* Cleanup IConfig doc

* Allmost complete removal

* Remove useless tests

* Fixes

* More cleanup

* More cleanup

* More cleanup

* Remove a non existent reference

* Better type

* Fix lint
2021-08-17 14:51:26 -07:00

26 lines
674 B
Python

"""Example Certbot plugins.
For full examples, see `certbot.plugins`.
"""
from certbot import interfaces
from certbot.plugins import common
class Authenticator(common.Plugin, interfaces.Authenticator):
"""Example Authenticator."""
description = "Example Authenticator plugin"
# Implement all methods from Authenticator, remembering to add
# "self" as first argument, e.g. def prepare(self)...
class Installer(common.Plugin, interfaces.Installer):
"""Example Installer."""
description = "Example Installer plugin"
# Implement all methods from Installer, remembering to add
# "self" as first argument, e.g. def get_all_names(self)...