Log in
Interface

UserTokenDataInterface

Magento\Integration\Api\Data\UserTokenDataInterface

What it does

This interface defines the contract for retrieving metadata about user authentication tokens in Magento 2.

Developers use this to access when a token was issued and when it will expire, typically for validating token lifetime in API integrations or custom authentication flows.

It provides standardized access to token timing information across the Integration module.

Public Methods

  • getIssued()
  • getExpires()