certbot/examples/plugins/letsencrypt_example_plugins.py

19 lines
486 B
Python
Raw Normal View History

2015-03-26 09:55:23 -04:00
"""Example Let's Encrypt plugins."""
import zope.interface
from letsencrypt.client import interfaces
class Authenticator(object):
zope.interface.implements(interfaces.IAuthenticator)
description = 'Example Authenticator plugin'
def __init__(self, config):
self.config = config
# Implement all methods from IAuthenticator, remembering to add
# "self" as first argument, e.g. def prepare(self)...
2015-03-27 18:20:43 -04:00
# For full examples, see letsencrypt.client.plugins