class ReplayCache

Methods

__construct(Factory $cache, Repository $config)

Create the shared assertion and proof replay store.

bool
consume(string $identifier, int $expiresAt)

Consume a validated assertion or proof until its acceptance window ends.

Details

at line 20
__construct(Factory $cache, Repository $config)

Create the shared assertion and proof replay store.

Parameters

Factory $cache
Repository $config

at line 29
bool consume(string $identifier, int $expiresAt)

Consume a validated assertion or proof until its acceptance window ends.

Parameters

string $identifier
int $expiresAt

Return Value

bool