abstract class BaseAuthentication implements AuthenticationInterface

Constants

ID_PREFIX

Properties

protected int $ttl

Methods

array
addConfigVarsToModuleInfoArray(array $moduleInfo)

Add correct config_var property to module info array

static string
convertFromOldSyntax($auth_method)

Convert xauth_method_name to MethodAuthentication

mixed
getAuthConfig(string $config_var)

Return configuration variable for auth method

static string
getAuthID()

Get internal Auth ID

static AuthenticationInterface|null
getAuthMethod(string $auth_method)

Get Auth Method

int
getSessionTTL()

No description

void
onBeforeExecute()

Override in your auth method

Details

at line 78
final protected array addConfigVarsToModuleInfoArray(array $moduleInfo)

Add correct config_var property to module info array

Parameters

array $moduleInfo

Return Value

array

at line 59
final static string convertFromOldSyntax($auth_method)

Convert xauth_method_name to MethodAuthentication

Parameters

$auth_method

Return Value

string

at line 92
final protected mixed getAuthConfig(string $config_var)

Return configuration variable for auth method

Parameters

string $config_var

Return Value

mixed

at line 102
final static string getAuthID()

Get internal Auth ID

Return Value

string

at line 32
final static AuthenticationInterface|null getAuthMethod(string $auth_method)

Get Auth Method

Parameters

string $auth_method

String identifier of Auth Method (XELOS Core or Authentication Hook)

Return Value

AuthenticationInterface|null

at line 21
int getSessionTTL()

No description

Return Value

int

Time in seconds until session can/should be considered expired

at line 67
void onBeforeExecute()

Override in your auth method

Return Value

void