mirror of
https://github.com/certbot/certbot.git
synced 2026-01-13 10:22:20 +03:00
17 lines
429 B
Python
17 lines
429 B
Python
"""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)...
|