Module HTML.Make

Make creates HTML responses module with all required rependencies

Parameters

module S : HTML_settings

Signature

val login_successful : Dream.request -> Dream.response Dream.promise

login_successful is triggered when authentication has been successful

val login_error : Dream.request -> Dream.response Dream.promise

login_error is triggered if there was any kind of failure during authentication

val logout : Dream.request -> Dream.response Dream.promise

logout is triggered after authentication has been reset