SingleUserPasswordAuthenticationCallback
Single User Password Authentication Callback
Table of Contents
- PASSWORD_FORM_PARAMETER = 'taproot_indieauth_server_password'
- $csrfKey : string
- $formTemplate : string
- $hashedPassword : string
- $user : array<string|int, mixed>
- __construct() : mixed
- __invoke() : mixed
Constants
PASSWORD_FORM_PARAMETER
public
mixed
PASSWORD_FORM_PARAMETER
= 'taproot_indieauth_server_password'
Properties
$csrfKey
public
string
$csrfKey
$formTemplate
public
string
$formTemplate
$hashedPassword
protected
string
$hashedPassword
$user
protected
array<string|int, mixed>
$user
Methods
__construct()
public
__construct(array<string|int, mixed> $user, string $hashedPassword[, string|null $csrfKey = null ][, string|null $formTemplate = null ]) : mixed
Parameters
- $user : array<string|int, mixed>
- $hashedPassword : string
- $csrfKey : string|null = null
- $formTemplate : string|null = null
Return values
mixed —__invoke()
public
__invoke(ServerRequestInterface $request, string $formAction, string|null $normalizedMeUrl) : mixed
Parameters
- $request : ServerRequestInterface
- $formAction : string
- $normalizedMeUrl : string|null