SelfServiceLoginHandler
in
Login handler for self service
Table of Contents
- addLoginFields() : void
- Adds necessary fields to the login dialog (e.g. user + password).
- authorize2FaUser() : void
- Authorizes an user that was provided by 2FA provider.
- getId() : string
- Returns a unique ID for the handler.
- 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 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 an user that was provided by 2FA provider.
public
authorize2FaUser(string $userName) : void
Parameters
- $userName : string
-
user name
Tags
Return values
void —getId()
Returns a unique ID for the handler.
public
getId() : string
Return values
string —ID
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
Return values
bool —authentication successful
managesAuthentication()
Returns if the login handler manages authentication on its own.
public
managesAuthentication() : bool
Return values
bool —manages authentication