Log in
Model

CompositeTokenReader

Magento\Integration\Model\CompositeTokenReader

What it does

This class implements a composite pattern to check multiple token sources when reading user authentication tokens.

Developers use this to allow flexible token validation by trying different token readers (like OAuth, admin, customer tokens) in sequence until one successfully validates the token, making the authentication system extensible and modular.

Public Methods

  • read()