FrontendUserRepository

class \TYPO3\CMS\FrontendLogin\Domain\Repository\FrontendUserRepository

Table of Contents

Properties

$connection  : Connection
$context  : Context
$userService  : UserService

Methods

__construct()  : mixed
existsUserWithHash()  : bool
Returns true if an user exists with hash as `felogin_forgothash`, otherwise false.
fetchUserInformationByEmail()  : array
Fetches array containing uid, username, email, first_name, middle_name & last_name by email or empty array if user was not found.
findEmailByUsernameOrEmailOnPages()  : string|null
findOneByForgotPasswordHash()  : array|null
findRedirectIdPageByUserId()  : int|null
getTable()  : string
updateForgotHashForUserByEmail()  : void
Sets forgot hash for passed email address.
updatePasswordAndInvalidateHash()  : void
Change the password for a user based on forgot password hash.

Properties

Methods

existsUserWithHash()

Returns true if an user exists with hash as `felogin_forgothash`, otherwise false.

public existsUserWithHash(string $hash) : bool

Parameters

$hash : string

Return values

bool

fetchUserInformationByEmail()

Fetches array containing uid, username, email, first_name, middle_name & last_name by email or empty array if user was not found.

public fetchUserInformationByEmail(string $emailAddress) : array

Parameters

$emailAddress : string

Return values

array

findEmailByUsernameOrEmailOnPages()

public findEmailByUsernameOrEmailOnPages(string $usernameOrEmail[, array $pages = [] ]) : string|null

Parameters

$usernameOrEmail : string
$pages : array = []

Return values

string|null

findOneByForgotPasswordHash()

public findOneByForgotPasswordHash(string $hash) : array|null

Parameters

$hash : string

Return values

array|null

findRedirectIdPageByUserId()

public findRedirectIdPageByUserId(int $uid) : int|null

Parameters

$uid : int

Return values

int|null

getTable()

public getTable() : string

Return values

string

updateForgotHashForUserByEmail()

Sets forgot hash for passed email address.

public updateForgotHashForUserByEmail(string $emailAddress, string $hash) : void

Parameters

$emailAddress : string
$hash : string

updatePasswordAndInvalidateHash()

Change the password for a user based on forgot password hash.

public updatePasswordAndInvalidateHash(string $forgotPasswordHash, string $hashedPassword) : void

Parameters

$forgotPasswordHash : string
$hashedPassword : string

Tags

throws
AspectNotFoundException
On this page