Stores the HTML templates associated with specific InteractionRoutes.

This class will only handle GET operations for which there is a matching template, if HTML is more preferred than JSON. The reason for doing it like this instead of a standard content negotiation flow, is because we only want to return the HTML pages on GET requests.

Templates will receive the parameter idpIndex in their context pointing to the root index URL of the IDP API and an authenticating parameter indicating if this is an active OIDC interaction.




idpIndex: string
templateEngine: TemplateEngine<Dict<unknown>>
templates: HtmlViewEntry[]