Log in
Model

FastStorageRevokedWrapper

Magento\JwtUserToken\Model\ResourceModel\FastStorageRevokedWrapper

What it does

This class provides a caching layer for JWT token revocation data, improving performance by storing revoked token information in fast cache storage before persisting to slower database storage.

Developers use this wrapper to efficiently check if a user's JWT tokens have been revoked without repeatedly querying the database, with cache TTL automatically set based on the token type (admin or customer).

Public Methods

  • saveRevoked()
  • findRevoked()