Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

35 строки
2.1 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Copyright © Magento, Inc. All rights reserved.
  4. ~ See COPYING.txt for license details.
  5. -->
  6. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  7. <system>
  8. <section id="webapi" type="text" sortOrder="102" showInDefault="1" showInWebsite="1" showInStore="1">
  9. <group id="jwtauth" translate="label" type="text" sortOrder="260" showInDefault="1">
  10. <label>JWT Authentication</label>
  11. <field id="jwt_alg" translate="label comment" type="select" sortOrder="1" showInDefault="1">
  12. <label>Algorithm to sign/encrypt JWTs used for authentication</label>
  13. <source_model>Magento\JwtUserToken\Model\Config\JwtAlgorithmSource</source_model>
  14. <comment>Selected algorithm will define JWT type used (JWS or JWE)</comment>
  15. </field>
  16. <field id="jwe_alg" translate="label comment" type="select" sortOrder="2" showInDefault="1">
  17. <label>Content encryption algorithm for JWEs</label>
  18. <source_model>Magento\JwtUserToken\Model\Config\JweAlgorithmSource</source_model>
  19. <comment>Encryption algorithm for JWT content to be used when JWE algorithm is selected</comment>
  20. </field>
  21. <field id="customer_expiration" translate="label comment" type="text" sortOrder="3" showInDefault="1">
  22. <label>Customer JWT Expires In</label>
  23. <validate>validate-zero-or-greater validate-number</validate>
  24. <comment>(minutes)</comment>
  25. </field>
  26. <field id="admin_expiration" translate="label comment" type="text" sortOrder="4" showInDefault="1">
  27. <label>Admin User JWT Expires In</label>
  28. <validate>validate-zero-or-greater validate-number</validate>
  29. <comment>(minutes)</comment>
  30. </field>
  31. </group>
  32. </section>
  33. </system>
  34. </config>