Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

35 wiersze
1.9 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <preference for="Magento\Integration\Api\UserTokenIssuerInterface" type="Magento\JwtUserToken\Model\Issuer" />
  10. <preference for="Magento\Integration\Api\UserTokenReaderInterface" type="Magento\Integration\Model\CompositeTokenReader" />
  11. <preference for="Magento\Integration\Api\UserTokenRevokerInterface" type="Magento\JwtUserToken\Model\Revoker" />
  12. <preference for="Magento\JwtUserToken\Model\JwtSettingsProviderInterface" type="Magento\JwtUserToken\Model\ConfigurableJwtSettingsProvider" />
  13. <preference for="Magento\JwtUserToken\Api\ConfigReaderInterface" type="Magento\JwtUserToken\Model\Config\ConfigReader" />
  14. <type name="Magento\JwtUserToken\Model\ResourceModel\FastStorageRevokedWrapper">
  15. <arguments>
  16. <argument name="slowRepo" xsi:type="object">Magento\JwtUserToken\Model\ResourceModel\RevokedRepository</argument>
  17. </arguments>
  18. </type>
  19. <preference for="Magento\JwtUserToken\Api\RevokedRepositoryInterface" type="Magento\JwtUserToken\Model\ResourceModel\FastStorageRevokedWrapper" />
  20. <type name="Magento\Integration\Model\CompositeUserTokenValidator">
  21. <arguments>
  22. <argument name="validators" xsi:type="array">
  23. <item name="jwt_revoked" xsi:type="object">Magento\JwtUserToken\Model\RevokedValidator</item>
  24. </argument>
  25. </arguments>
  26. </type>
  27. <type name="Magento\Integration\Model\CompositeTokenReader">
  28. <arguments>
  29. <argument name="readers" xsi:type="array">
  30. <item name="10" xsi:type="object">Magento\JwtUserToken\Model\Reader</item>
  31. </argument>
  32. </arguments>
  33. </type>
  34. </config>