Learn R Programming

jug (version 0.1.7)

auth_basic: Basic authentication middleware

Description

Basic authentication middleware

Usage

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