SilverStripe JWT

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

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|null

checkPassword()

public checkPassword(Member $member, mixed $password[, ValidationResult &$result = null ]) : mixed
Parameters
$member : Member
$password : mixed
$result : ValidationResult = null

authenticateMember()

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
skipUpgrade
Return values
Member

Found member, regardless of successful login


        
On this page

Search results