IHP Api Reference
Copyright(c) digitally induced GmbH 2020
Safe HaskellNone

IHP.Controller.BasicAuth

Description

 
Synopsis

Documentation

basicAuth :: (?context :: ControllerContext) => Text -> Text -> Text -> IO () Source #

Adds basic http authentication

Mainly for protecting a site during external review. Meant for use in the controller:

beforeAction = basicAuth ...