<?php

return [
    'api_prefix' => (string) env('MOBILE_API_PREFIX', 'secure-student-api'),

    'client_name' => (string) env('MOBILE_API_CLIENT', 'jel_flutter_app'),

    'api_key' => (string) env('MOBILE_API_KEY', ''),

    'client_header' => (string) env('MOBILE_CLIENT_HEADER', 'X-Mobile-Client'),

    'key_header' => (string) env('MOBILE_KEY_HEADER', 'X-Mobile-Key'),

    'require_signature' => (bool) env('MOBILE_API_REQUIRE_SIGNATURE', false),

    'signature_header' => (string) env('MOBILE_SIGNATURE_HEADER', 'X-Mobile-Signature'),

    'timestamp_header' => (string) env('MOBILE_TIMESTAMP_HEADER', 'X-Mobile-Timestamp'),

    'signature_ttl_seconds' => (int) env('MOBILE_API_SIGNATURE_TTL_SECONDS', 300),

    'token_ttl_days' => (int) env('MOBILE_TOKEN_TTL_DAYS', 30),

    'password_reset_token_ttl_minutes' => (int) env('MOBILE_PASSWORD_RESET_TOKEN_TTL_MINUTES', 15),

    'heartbeat_timeout_seconds' => (int) env('EXAM_HEARTBEAT_TIMEOUT_SECONDS', 20),

    'single_active_device' => (bool) env('MOBILE_SINGLE_ACTIVE_DEVICE', true),

    'single_active_exam_session' => (bool) env('MOBILE_SINGLE_ACTIVE_EXAM_SESSION', true),

    'exam_duration_minutes' => (int) env('MOBILE_EXAM_DURATION_MINUTES', 25),

    'recharge_upi_id' => (string) env('MOBILE_RECHARGE_UPI_ID', '8619586477-2@ybl'),

    'recharge_upi_label' => (string) env('MOBILE_RECHARGE_UPI_LABEL', 'Wallet Recharge'),

    'auto_submit_events' => [
        'app_background',
        'screen_focus_lost',
        'fullscreen_exit',
        'camera_denied',
        'camera_missing',
        'multiple_device_attempt',
        'manual_security_lock',
        'network_timeout',
    ],
];
