class AlternativeLoginAuthentication extends BaseAuthentication

Properties

protected $ttl
$user_details
array $options

AD-Auth Options (Set in Global Config and Read in __construct)

protected $config_id
protected $auth_title

Methods

__construct()

No description

bool
authenticate_user(mixed $login, string $password)

Authenticate User

static string
convertFromOldSyntax($auth_method)

Convert xauth_method_name to MethodAuthentication

static BaseAuthentication|null
getAuthMethod(string $auth_method)

Get Auth Method

int
getSessionTTL()

No description

array
get_module_info()

No description

array
get_user_details()

Get User Details

Details

at line 21
__construct()

No description

at line 41
bool authenticate_user(mixed $login, string $password)

Authenticate User

Parameters

mixed $login
string $password

Password as enetered by user

Return Value

bool

Returns true of authentication is valid

Exceptions

Exception

in BaseAuthentication at line 41
final static string convertFromOldSyntax($auth_method)

Convert xauth_method_name to MethodAuthentication

Parameters

$auth_method

Return Value

string

in BaseAuthentication at line 26
final static BaseAuthentication|null getAuthMethod(string $auth_method)

Get Auth Method

Parameters

string $auth_method

Core Auth Method (XELOS Core)

Return Value

BaseAuthentication|null

in BaseAuthentication at line 15
int getSessionTTL()

No description

Return Value

int

Time in seconds until session can/should be considered expired

at line 101
array get_module_info()

No description

Return Value

array

at line 91
array get_user_details()

Get User Details

Return Value

array

Returns an array containing all user information