<?php

return [

    'sms' => [
        'username' => env('SMS_USERNAME', 'even7788'),//用户名
        'password' => env('SMS_PASSWORD', 'Lpy@19920122'),//密码
        'content' => env("SMS_CONTENT", '【二八科技】您的验证码是{code}。如非本人操作，请忽略本短信'),//短信内容
    ],

    'telegram' => [
        'token' => env('TELEGRAM_BOT_TOKEN'),
        'username' => env('TELEGRAM_BOT_USERNAME'),
        'retry_attempts' => env('TELEGRAM_RETRY_ATTEMPTS', 2),
        'retry_delay_seconds' => env('TELEGRAM_RETRY_DELAY_SECONDS', 3),
        'retry_max_delay_seconds' => env('TELEGRAM_RETRY_MAX_DELAY_SECONDS', 10),
        'first_timeout' => env('TELEGRAM_FIRST_TIMEOUT', 5),
        'first_connect_timeout' => env('TELEGRAM_FIRST_CONNECT_TIMEOUT', 3),
        'proxy_timeout' => env('TELEGRAM_PROXY_TIMEOUT', 20),
        'proxy_connect_timeout' => env('TELEGRAM_PROXY_CONNECT_TIMEOUT', 8),
        'proxy' => [
            'enabled' => env('TELEGRAM_PROXY_ENABLED', true),
            'scheme' => env('TELEGRAM_PROXY_SCHEME', env('PLAYNOW_PROXY_SCHEME', 'http')),
            'host' => env('TELEGRAM_PROXY_HOST', env('PLAYNOW_PROXY_HOST', '155.138.141.119')),
            'port' => env('TELEGRAM_PROXY_PORT', env('PLAYNOW_PROXY_PORT', '3128')),
            'username' => env('TELEGRAM_PROXY_USERNAME', env('PLAYNOW_PROXY_USERNAME', 'proxyuser')),
            'password' => env('TELEGRAM_PROXY_PASSWORD', env('PLAYNOW_PROXY_PASSWORD', '')),
        ],
    ],


    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'mailgun' => [
        'domain' => env('MAILGUN_DOMAIN'),
        'secret' => env('MAILGUN_SECRET'),
        'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
        'scheme' => 'https',
    ],

    'postmark' => [
        'token' => env('POSTMARK_TOKEN'),
    ],

    'ses' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],
    'google' => [
        'client_id' => env('GOOGLE_CLIENT_ID'),
        'client_secret' => env('GOOGLE_CLIENT_SECRET'),
        'redirect_uri' => env('GOOGLE_REDIRECT_URI'),
    ],
    'push' => [
        'app_key' => env('J_PUSH_APP_KEY', ''),
        'app_secret' => env('J_PUSH_APP_SECRET', ''),
    ],
    'apple' => [
        'shared_secret' => env('APPLE_SHARED_SECRET', ''),
        'verify_receipt_uri' => env('APPLE_VERIFY_RECEIPT_URI', ''),
    ],

    'playnow' => [
        'keno_url' => env('PLAYNOW_KENO_URL', 'https://www.playnow.com/services2/keno/nextdraw'),
        'timezone' => env('PLAYNOW_TIMEZONE', 'America/Vancouver'),
        'proxy' => [
            'scheme' => env('PLAYNOW_PROXY_SCHEME', 'http'),
            'host' => env('PLAYNOW_PROXY_HOST', '155.138.141.119'),
            'port' => env('PLAYNOW_PROXY_PORT', '3128'),
            'username' => env('PLAYNOW_PROXY_USERNAME', 'proxyuser'),
            'password' => env('PLAYNOW_PROXY_PASSWORD', ''),
        ],
    ],

];
