Skip to content

Commit f11ef1d

Browse files
committed
Add support for admin WebAPI token refresh
1 parent 3faa2fa commit f11ef1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/configuration.md

+10
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,16 @@ Example:
408408
REMOTE_STORAGE_AWSS3_PREFIX=local
409409
```
410410

411+
### MAGENTO_ADMIN_WEBAPI_TOKEN_LIFETIME
412+
413+
The lifetime (in seconds) of Magento Admin WebAPI token; if token is older than this value a refresh attempt will be made just before the next WebAPI call.
414+
415+
Example:
416+
417+
```conf
418+
MAGENTO_ADMIN_WEBAPI_TOKEN_LIFETIME=10800
419+
```
420+
411421
<!-- Link definitions -->
412422

413423
[`MAGENTO_CLI_COMMAND_PATH`]: #magento_cli_command_path

0 commit comments

Comments
 (0)