AirLay backend

PasswordHistoryService extends AirlayService
in package

Class AirlayService

Table of Contents

$  : AirlayConfig
$rabbitmq  : AMQPStreamConnection
$user  : UserEntity
$collection  : mixed
__construct()  : mixed
getCollection()  : mixed
savePasswordHistory()  : void
wasPasswordUsed()  : bool

Properties

Methods

__construct()

public __construct(mixed $collection) : mixed
Parameters
$collection : mixed
Return values
mixed

getCollection()

public getCollection() : mixed
Return values
mixed

savePasswordHistory()

public savePasswordHistory(ObjectId $userId, string $passwordHash) : void
Parameters
$userId : ObjectId
$passwordHash : string
Return values
void

wasPasswordUsed()

public wasPasswordUsed(ObjectId $userId, string $password) : bool
Parameters
$userId : ObjectId
$password : string
Return values
bool

Search results