Remitt:: Plugin:: Authentication:: SQLite

Authentication plugin using SQLite engine.

Summary
Authentication plugin using SQLite engine.
Determine if a given username/password pair is valid.
Add a username/password pair to the authentication system.
Remove user from SQLite database
Initialize the database, if this has not been done so already.

Functions

Authenticate

sub Authenticate

Determine if a given username/password pair is valid.

Parameters

$userUsername
$passPassword

Returns

Boolean value, depending on whether or not it is matched in the SQLite database.  This database is located at (home)/spool/auth.db.

Create

sub Create

Add a username/password pair to the authentication system.

Parameters

$userUsername
$passPassword

Return

Boolean, depending on success.

Config

sub Config

Delete

sub Delete

Remove user from SQLite database

Parameters

$userName of user to delete

Returns

Boolean, depending on success

Init

sub Init

Initialize the database, if this has not been done so already.

Returns

Boolean, depending on success.

test

sub test
sub Authenticate
Determine if a given username/password pair is valid.
sub Create
Add a username/password pair to the authentication system.
sub Config
sub Delete
Remove user from SQLite database
sub Init
Initialize the database, if this has not been done so already.
sub test