auth_basic: Basic authentication middleware

Description Usage Arguments

Description

Basic authentication middleware

Usage

1
auth_basic(account_eval_func, basic_realm = "this_jug_server")

Arguments

account_eval_func

a function to which the username and password arguments will be passed and which should return TRUE for a valid combination and FALSE for an invalid one.

basic_realm

the user visible realm that will be returned through the WWW-Authenticate header in case of an unauthenticated request


jug documentation built on May 1, 2019, 10:31 p.m.