An available AuthContainer registered on the Auth system.

The Auth system requires the programmer to create a class which extends AuthContainerInterface. These do the work of authentication against anything the programmer wishes. The AuthContainer class 'registers' the class written by the programmer allowing it to be used by the Auth system.

package dstruct_auth

 Methods

Class constructor.

__construct(string $id) 

Parameters

$id

string

Get the object ID.

getID() : string

Returns

string

Insert into the database.

insert() 

Load the object by the ID.

loadById(string $id) : boolean | \multitype: | \AuthContainer
Static

Parameters

$id

string

Returns

boolean\multitype:\AuthContainer

Set the object ID.

setID(string $id) 

Parameters

$id

string

 Properties

 

$id : string