SilverStripe HIBP

PasswordValidatorExtension extends Extension
in package
Uses Configurable

Class \Firesphere\HaveIBeenPwned\Extensions\PasswordValidatorExtension

Table of Contents

Properties

$owner  : PasswordValidator|PasswordValidatorExtension
$params  : array<string|int, mixed>
$service  : HaveIBeenPwnedService

Methods

getParams()  : array<string|int, mixed>
setParams()  : mixed
updateValidatePassword()  : void
addMessages()  : mixed
checkPwnCount()  : int
checkPwndSites()  : string

Properties

Methods

setParams()

public setParams(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

addMessages()

protected addMessages(ValidationResult $valid, int $isPwndCount, string $breached) : mixed
Parameters
$valid : ValidationResult
$isPwndCount : int
$breached : string

checkPwnCount()

protected checkPwnCount( $pwd,  $member) : int
Parameters
$pwd :
$member :
Tags
throws
GuzzleException
Return values
int

checkPwndSites()

protected checkPwndSites( $savePwnd,  $member) : string
Parameters
$savePwnd :
$member :
Tags
throws
GuzzleException
Return values
string

        
On this page

Search results