LedgerSMB::Auth::DB(3pm)

LedgerSMB::Auth::DB3pm

Standard authentication db module.

Usage

This is the standard DB-based module for authentication. Uses HTTP basic authentication.

Methods

session_check

Checks to see if a session exists based on current logged in credentials.

Handles failure by creating a new session, since credentials are now separate.

session_create

Creates a new session, sets $lsmb->{session_id} to that session, sets cookies, etc.

session_destry

Destroys a session and removes it from the db.

get_credentials

Gets credentials from the 'HTTP_AUTHORIZATION' environment variable which must be passed in as per the standards of HTTP basic authentication.

Returns a hashref with the keys of login and password.

credential_prompt

Sends a 401 error to the browser popping up browser credential prompt.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From ledgersmb 1.3.40-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.