WebbuildersGroup\UsernameAuth\Security\UsernameLoginHandler
Synopsis
class UsernameLoginHandler
extends RequestHandler
{
- // members
- protected Authenticator $authenticator;
- private static array $url_handlers = ;
- private static array $allowed_actions = ;
- protected $link = NULL;
- // methods
- public string Link()
- public void __construct()
- public array login()
- public MemberLoginForm loginForm()
- public void dologin()
- public void getReturnReferer()
- protected HTTPResponse redirectAfterSuccessfulLogin()
- public Member checkLogin()
- public Member performLogin()
Hierarchy
Extends
- SilverStripe\Control\RequestHandler
Members
private
- $allowed_actions — array
- $url_handlers — array
protected
- $authenticator — WebbuildersGroup\UsernameAuth\Security\Authenticator
- $link
—
string
Link to this handler
Methods
protected
- redirectAfterSuccessfulLogin() — Login in the user and figure out where to redirect the browser.
public
- __construct()
- Link() — Return a link to this request handler.
- checkLogin() — Try to authenticate the user
- dologin() — Login form handler method
- getReturnReferer()
- login() — URL handler for the log-in screen
- loginForm() — Return the MemberLoginForm form
- performLogin() — Try to authenticate the user