SilverStripe HIBP

LoginHandler extends LoginHandler

Class LoginHandler

Table of Contents

Properties

$service  : HaveIBeenPwnedService

Methods

__construct()  : mixed
LoginHandler constructor.
doLogin()  : HTTPResponse
getService()  : HaveIBeenPwnedService
setService()  : LoginHandler
lockoutMember()  : mixed
redirectToResetPassword()  : HTTPResponse
Invoked if password is expired and must be changed
validateMember()  : array<string|int, mixed>

Properties

Methods

__construct()

LoginHandler constructor.

public __construct(string $link, MemberAuthenticator $authenticator) : mixed
Parameters
$link : string
$authenticator : MemberAuthenticator

doLogin()

public doLogin( $data, MemberLoginForm $form, HTTPRequest $request) : HTTPResponse
Parameters
$data :
$form : MemberLoginForm
$request : HTTPRequest
Tags
throws
GuzzleException
throws
ValidationException
Return values
HTTPResponse

redirectToResetPassword()

Invoked if password is expired and must be changed

protected redirectToResetPassword() : HTTPResponse
Tags
skipUpgrade
Return values
HTTPResponse

validateMember()

protected validateMember(array<string|int, mixed> $data, HTTPRequest $request, ValidationResult|null &$result) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
$request : HTTPRequest
$result : ValidationResult|null
Tags
throws
GuzzleException
Return values
array<string|int, mixed>

        
On this page

Search results