class NtlmAuthentication extends BaseAuthentication

Constants

ID_PREFIX

Properties

protected $ttl
$user_id
$user_login

Methods

__construct()

No description

array
addConfigVarsToModuleInfoArray(array $moduleInfo)

Add correct config_var property to module info array

bool
authenticate_user(string $user_login = null, string $password = null)

Authenticate Users

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

array
get_module_info()

No description

array
get_user_details()

Standard Authentication Function for XelosV3

bool
isAvailable()

Check wether NTLM Auth should be used for the current request or not

static void
logout()

No description

void
onBeforeExecute()

Override in your auth method

bool
save_ntlm_hash(User $user, string $user_login, string $password)

Save the NTLM Hashes for a later SSO

Details

at line 71
__construct()

No description

in BaseAuthentication 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 87
bool authenticate_user(string $user_login = null, string $password = null)

Authenticate Users

Parameters

string $user_login
string $password

Password as enetered by user

Return Value

bool

Returns true of authentication is valid

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

Convert xauth_method_name to MethodAuthentication

Parameters

$auth_method

Return Value

string

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

Return configuration variable for auth method

Parameters

string $config_var

Return Value

mixed

in BaseAuthentication at line 102
final static string getAuthID()

Get internal Auth ID

Return Value

string

in BaseAuthentication 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

in BaseAuthentication at line 21
int getSessionTTL()

No description

Return Value

int

Time in seconds until session can/should be considered expired

at line 587
array get_module_info()

No description

Return Value

array

at line 571
array get_user_details()

Standard Authentication Function for XelosV3

Return Value

array

Returns an array containing all user information

at line 652
bool isAvailable()

Check wether NTLM Auth should be used for the current request or not

Return Value

bool

true if NTLM should be used and is available

at line 735
static void logout()

No description

Return Value

void

in BaseAuthentication at line 67
void onBeforeExecute()

Override in your auth method

Return Value

void

at line 530
bool save_ntlm_hash(User $user, string $user_login, string $password)

Save the NTLM Hashes for a later SSO

Parameters

User $user
string $user_login
string $password

Return Value

bool