Added environment variable example for authentication configuration

This commit is contained in:
2024-12-21 14:12:54 +01:00
parent 422fd6c677
commit 51c15eff4c

View File

@@ -28,6 +28,7 @@ by configuring your configuration to load these.
You can specify `Seconds`, `Minutes`, `Hours` and `Days` for either of the two token types. You can specify `Seconds`, `Minutes`, `Hours` and `Days` for either of the two token types.
These get combined to a single time span. These get combined to a single time span.
#### Configuration example
```json ```json
"HopFrame": { "HopFrame": {
"Authentication": { "Authentication": {
@@ -41,3 +42,10 @@ These get combined to a single time span.
} }
} }
``` ```
#### Environment variables example
```dotenv
HOPFRAME__AUTHENTICATION__ACCESSTOKEN__MINUTES=30
HOPFRAME__AUTHENTICATION__REFRESHTOKEN__DAYS=10
HOPFRAME__AUTHENTICATION__REFRESHTOKEN__HOURS=5
```