LedgerSMB::Auth(3pm)

LedgerSMB::Auth3pm

Provides an abstraction layer for session management and authentication.

Usage

This routine provides an abstraction layer for session management and authentication. The current application only ships with a simple authentication layer using database-native accounts. Other authentication methods are quite possible though currently every LedgerSMB user must be a database user.

Methods

Each plugin library must provide the following methods.

session_check

Check whether a session exists and handle failure appropriately.

Modules are free to define how failure should be addressed.

session_create

Create a session

session_destroy

Destroy a session.

get_credentials

Get credentials and return them to the application.

Must return a hashref with the following entries:

login password

credential_prompt

Prompt user for credentials

Methods provided in common

http_error

Send an http error to the browser.

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.