MemoryCache

class OC\Security\RateLimiting\Backend\MemoryCache
Class MemoryCache uses the configured distributed memory cache for storing
rate limiting data.
Source:lib/private/Security/RateLimiting/Backend/MemoryCache.php#42
Implements:OC\Security\RateLimiting\Backend\IBackend

Properties

Methods

public OC\Security\RateLimiting\Backend\MemoryCache::__construct($cacheFactory, $timeFactory)
Source:

lib/private/Security/RateLimiting/Backend/MemoryCache.php#52

Parameters:
public OC\Security\RateLimiting\Backend\MemoryCache::getAttempts($methodIdentifier, $userIdentifier, $seconds)
Source:lib/private/Security/RateLimiting/Backend/MemoryCache.php#89
public OC\Security\RateLimiting\Backend\MemoryCache::registerAttempt($methodIdentifier, $userIdentifier, $period)
Source:lib/private/Security/RateLimiting/Backend/MemoryCache.php#110