Mental Space

UserAuth
in package

Table of Contents

Properties

$connection  : PDO
$query  : QueryFactory

Methods

__construct()  : mixed
UserAuth constructor.
authenticate()  : array<string|int, mixed>
authenticate_paz()  : array<string|int, mixed>

Properties

Methods

authenticate()

public authenticate(string $username, string $password, string $role) : array<string|int, mixed>
Parameters
$username : string

Email

$password : string

Password

$role : string
Return values
array<string|int, mixed>

authenticate_paz()

public authenticate_paz(string $username, string $password, string $role) : array<string|int, mixed>
Parameters
$username : string
$password : string
$role : string
Return values
array<string|int, mixed>

        
On this page

Search results