WhitePagesUserPasswordLoginHandler
in package
implements
WhitePagesLoginHandler
Performs login with user and password.
Interfaces, Classes, Traits and Enums
- WhitePagesLoginHandler
- Login handler for white pages
Table of Contents
- $profile : WhitePagesProfile
- __construct() : mixed
- Constructor
- 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.
Properties
$profile
private
WhitePagesProfile
$profile
Methods
__construct()
Constructor
public
__construct(WhitePagesProfile $profile) : mixed
Parameters
- $profile : WhitePagesProfile
-
profile
Return values
mixed —addLoginFields()
Adds the necessary fields to the login dialog (e.g. user + password).
public
addLoginFields(htmlResponsiveRow $content) : void
Parameters
- $content : htmlResponsiveRow
-
dialog content
Tags
Return values
void —authorize2FaUser()
Authorizes a user provided by the 2FA provider.
public
authorize2FaUser(string $userName) : void
Parameters
- $userName : string
-
user name
Tags
Return values
void —getLoginName()
Returns the login name.
public
getLoginName() : string
Tags
Return values
string —login name
getLoginPassword()
Returns the login password.
public
getLoginPassword() : string
Tags
Return values
string —password
isAuthenticationSuccessful()
Returns if the authentication was successful.
public
isAuthenticationSuccessful() : bool
Tags
Return values
bool —authentication successful
managesAuthentication()
Returns if the login handler manages authentication on its own.
public
managesAuthentication() : bool
Tags
Return values
bool —manages authentication