AnonymousUserAuthenticator
extends MemberAuthenticator
in package
Uses
Configurable, Injectable
Table of Contents
Properties
- $anonymous_username : string
- Anonymous username
Methods
- authenticate() : Member|null
- checkPassword() : mixed
- supportedServices() : int
- authenticateMember() : Member
- Attempt to find and authenticate member if possible from the given data
Properties
$anonymous_username
Anonymous username
private
static string
$anonymous_username
= 'anonymous'
Methods
authenticate()
public
authenticate(array<string|int, mixed> $data, HTTPRequest $request[, ValidationResult &$result = null ]) : Member|null
Parameters
- $data : array<string|int, mixed>
- $request : HTTPRequest
- $result : ValidationResult = null
Return values
Member|nullcheckPassword()
public
checkPassword(Member $member, mixed $password[, ValidationResult &$result = null ]) : mixed
Parameters
- $member : Member
- $password : mixed
- $result : ValidationResult = null
supportedServices()
public
supportedServices() : int
Return values
intauthenticateMember()
Attempt to find and authenticate member if possible from the given data
protected
authenticateMember(array<string|int, mixed> $data[, ValidationResult &$result = null ][, Member $member = null ]) : Member
Parameters
- $data : array<string|int, mixed>
-
Form submitted data
- $result : ValidationResult = null
- $member : Member = null
-
This third parameter is used in the CMSAuthenticator(s)
Tags
Return values
Member —Found member, regardless of successful login