LDAP Account Manager

WhitePagesLoginHandler
in

Login handler for white pages

Table of Contents

addLoginFields()  : void
Adds the necessary fields to the login dialog (e.g. user + password).
authorize2FaUser()  : void
Authorizes a user provided by the 2FA provider.
getLoginName()  : string
Returns the login name.
getLoginPassword()  : string
Returns the login password.
isAuthenticationSuccessful()  : bool
Returns if the authentication was successful.
managesAuthentication()  : bool
Returns if the login handler manages authentication on its own.

Methods

addLoginFields()

Adds the necessary fields to the login dialog (e.g. user + password).

public addLoginFields(htmlResponsiveRow $content) : void
Parameters
$content : htmlResponsiveRow

dialog content

Return values
void —

authorize2FaUser()

Authorizes a user provided by the 2FA provider.

public authorize2FaUser(string $userName) : void
Parameters
$userName : string

user name

Tags
throws
LAMException

error during authentication

Return values
void —

getLoginName()

Returns the login name.

public getLoginName() : string
Return values
string —

login name

getLoginPassword()

Returns the login password.

public getLoginPassword() : string
Return values
string —

password

isAuthenticationSuccessful()

Returns if the authentication was successful.

public isAuthenticationSuccessful() : bool

Only valid if managesAuthentication() returns true.

Tags
throws
LAMException

error during authentication

Return values
bool —

authentication successful

managesAuthentication()

Returns if the login handler manages authentication on its own.

public managesAuthentication() : bool
Return values
bool —

manages authentication

Search results