Sha256: be8ee20188bf0ebe4cf0f2567b02fc822f33e60e898587d052cf040e76e30bcb

Contents?: true

Size: 830 Bytes

Versions: 37

Compression:

Stored size: 830 Bytes

Contents

= Documentation for HTTP Basic Auth Feature

The HTTP basic auth feature allows logins using HTTP basic authentication,
described in RFC 1945.

In your routing block, you can require HTTP basic authentication via:

  rodauth.require_http_basic_auth

If you want to allow HTTP basic authentication but not require it, you can
call:

  rodauth.http_basic_auth

== Auth Value Methods

http_basic_auth_realm :: The realm to return in the WWW-Authenticate header.
require_http_basic_auth? :: If true, when +rodauth.require_login+ or +rodauth.require_authentication+ is used, return a 401 status page if basic auth has not been provided, instead of redirecting to the login page. If false, +rodauth.require_login+ or +rodauth.require_authentication+ will check for HTTP basic authentication if not already logged in.  False by default.

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rodauth-2.36.0 doc/http_basic_auth.rdoc
rodauth-2.34.0 doc/http_basic_auth.rdoc
rodauth-2.33.0 doc/http_basic_auth.rdoc
rodauth-2.32.0 doc/http_basic_auth.rdoc
rodauth-2.31.0 doc/http_basic_auth.rdoc
rodauth-2.30.0 doc/http_basic_auth.rdoc
rodauth-2.29.0 doc/http_basic_auth.rdoc
rodauth-2.28.0 doc/http_basic_auth.rdoc
rodauth-2.27.0 doc/http_basic_auth.rdoc
rodauth-2.26.1 doc/http_basic_auth.rdoc
rodauth-2.26.0 doc/http_basic_auth.rdoc
rodauth-2.25.0 doc/http_basic_auth.rdoc
rodauth-2.24.0 doc/http_basic_auth.rdoc
rodauth-2.23.0 doc/http_basic_auth.rdoc
rodauth-2.22.0 doc/http_basic_auth.rdoc
rodauth-2.21.0 doc/http_basic_auth.rdoc
rodauth-2.20.0 doc/http_basic_auth.rdoc
rodauth-2.19.0 doc/http_basic_auth.rdoc
rodauth-2.18.0 doc/http_basic_auth.rdoc
rodauth-2.17.0 doc/http_basic_auth.rdoc