package current_web
Module Current_web.SiteSource
Site configuration settings.
Source
val v :
?name:string ->
?authn:(csrf:string -> Uri.t) ->
?secure_cookies:bool ->
has_role:(User.t option -> Role.t -> bool) ->
raw_resource Routes.route list ->
tv ~name ~authn ~has_role routes is a site named name (used for the HTML title, etc) that uses authn to authenticate users and has_role to control what they can do.