adding features

This commit is contained in:
DioCrafts
2025-03-26 19:08:07 +01:00
parent e22c0ac855
commit dacc3ecc4c
37 changed files with 456 additions and 60 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# Environment variables for OxiCloud authentication testing
export OXICLOUD_ENABLE_AUTH=true
export OXICLOUD_JWT_SECRET="testing-secret-key-for-development-only"
export OXICLOUD_ACCESS_TOKEN_EXPIRY_SECS=3600
export OXICLOUD_REFRESH_TOKEN_EXPIRY_SECS=86400
export OXICLOUD_DB_CONNECTION_STRING="postgres://postgres:postgres@localhost/oxicloud"
# Run with: source test-auth-env.sh && cargo run
echo "Authentication environment variables set. Run 'cargo run' to start OxiCloud with auth enabled."