Log in
Interface

UserTokenParametersInterface

Magento\Integration\Api\Data\UserTokenParametersInterface

What it does

This interface defines parameters that can be passed when creating new user authentication tokens in Magento 2.

Developers use this to customize token generation, such as forcing a specific issued timestamp or adding extension attributes.

It's primarily used in integration and API authentication scenarios where tokens need specific configurations.

Public Methods

  • getForcedIssuedTime()
  • getExtensionAttributes()
  • setExtensionAttributes()