Module us_web_leec_handler

LEEC-compliant handler for US-Web, whose role is to answer ACME challenges thanks to LEEC, in order to complete the verification procedure.

Description

LEEC-compliant handler for US-Web, whose role is to answer ACME challenges thanks to LEEC, in order to complete the verification procedure.

See https://leec.esperide.org/#usage-example for more details.

Data Types

cert_manager_pid()

cert_manager_pid() = class_USCertificateManager:manager_pid()

handler_state()

handler_state() = cert_manager_pid()

Function Index

handle/2Handles specified request (not expected to be used).
init/2Initialises this LEEC handler.
terminate/3Terminates this handler.

Function Details

handle/2

handle(Req, HandlerState) -> any()

Handles specified request (not expected to be used).

init/2

init(Req::cowboy_req:req(), HandlerState::handler_state()) -> us_web_handler:handler_return()

Initialises this LEEC handler.

This handler initialisation tries to serve the relevant challenge tokens to the requesting http client (supposed to be an ACME server currently trying to read the thumbprints from the well-known ACME URL).

terminate/3

terminate(Reason, Req, HandlerState) -> any()

Terminates this handler.


Generated by EDoc