Initial commit: Uruk Prize Platform architecture, backend core, mobile app, gateway caller & deployment pipeline

This commit is contained in:
Hamza-Ayed
2026-09-18 17:12:05 +03:00
commit 879dd36f1b
1149 changed files with 97122 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
return [
// Header names required for every authenticated request
'headers' => [
'user_id' => 'HTTP_X_USER_ID',
'fingerprint' => 'HTTP_X_DEVICE_FINGERPRINT',
'timestamp' => 'HTTP_X_TIMESTAMP',
'nonce' => 'HTTP_X_NONCE',
'signature' => 'HTTP_X_SIGNATURE',
],
// Time tolerance in seconds for anti-replay check
'timestamp_tolerance' => 120, // 2 minutes
// Dynamic QR token lifetime in seconds
'qr_token_lifetime' => 90, // 90 seconds rotation
// Encryption cipher
'cipher' => 'aes-256-gcm',
// Password hash algorithm
'password_algo' => defined('PASSWORD_ARGON2ID') ? PASSWORD_ARGON2ID : PASSWORD_BCRYPT,
];