Regex to match this route.
Templates to render on GET requests. Keys are content-types, values paths to a template.
Handler to call on POST requests.
In case of requests to the IDP entry point, the session prompt will be compared to this.
Templates to render as a response to POST requests when required. Keys are content-types, values paths to a template.
Controls to add to the response JSON. The keys will be copied and the values will be converted to full URLs.
Returns the stored controls.
GET requests return a default response result. POST requests return the InteractionHandler result. InteractionHandler errors will be converted into response results.
All results will be appended with the matching template paths.
Will error for other methods
Checks support by comparing the prompt if the path targets the base URL, and otherwise comparing with the stored route regular expression.
Default implementation of the InteractionRoute. See function comments for specifics.