Log in
Other

Revoked

Magento\JwtUserToken\Api\Data\Revoked

What it does

This class represents data about revoked JWT tokens for a specific user.

Developers use it to track which user's tokens should be invalidated before a certain timestamp, typically when a user changes their password or is logged out across all devices.

It stores the user type ID, user ID, and the timestamp before which all tokens should be considered invalid.

Public Methods

  • getUserTypeId()
  • getUserId()
  • getBeforeTimestamp()