I have a custom plugin that handles authentication and installation and therefore extends the common.Configurator class. As it is possible to use a different authenticator my plugin will some times only be used as installer. I have parameters that are required for authentication and installation, some are only required for authentication and some are only required for installation.
Now my question is:
Is it possible to detect if the current certbot run will use my plugin as authenticator and installer or only as installer? I would like to set the parameters to optional if possible to not require not needed parameters if only authentication or only installation is used.
yeah, I already took a look into these. I was not able to find anything that certain parameters are optional depending if its for authentication or installation. To me it seems for these two plugins that you always need the same parameters regardless if authentication or installation.
I think I will go ahead and split the plugin code into two classes then - one which only implements the authenticator interface and one which only implements the installer interface.