MaximeRainville\Impersonate\LoginHandler
Handle login requests from MaximeRainville\Auth0\Authenticator.
Synopsis
class LoginHandler
extends RequestHandler
{
- // members
- protected Authenticator $authenticator;
- private static array $url_handlers = ;
- private static array $allowed_actions = ;
- private $link;
- // methods
- public void __construct()
- public string link()
- public array login()
- public Form Form()
- public void doLogin()
- protected HTTPResponse redirectAfterSuccessfulLogin()
- public void httpError()
Hierarchy
Extends
- SilverStripe\Control\RequestHandler
Members
private
- $allowed_actions — array
- $link — string
- $url_handlers — array
protected
- $authenticator — SilverStripe\Security\Authenticator
Methods
protected
- redirectAfterSuccessfulLogin() — Login in the user and figure out where to redirect the browser.
public
- __construct()
- Form() — Display a login form.
- doLogin() — Do the actual login action that will redirect the user to Auth0 for authentication.
- httpError()
- link() — Return a link to this request handler.
- login() — URL handler for the log-in screen