launcher api
This commit is contained in:
@@ -40,6 +40,11 @@ return [
|
||||
'driver' => 'session',
|
||||
'provider' => 'game_accounts',
|
||||
],
|
||||
|
||||
'api' => [
|
||||
'driver' => 'passport',
|
||||
'provider' => 'game_accounts_eloquent',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -63,6 +68,11 @@ return [
|
||||
'game_accounts' => [
|
||||
'driver' => 'azerothcore',
|
||||
],
|
||||
|
||||
'game_accounts_eloquent' => [
|
||||
'driver' => 'eloquent',
|
||||
'model' => App\Models\GameAccount::class,
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,6 +24,12 @@ return [
|
||||
'temporary_url_minutes' => (int) env('MOONWELL_CLIENT_URL_TTL', 30),
|
||||
],
|
||||
|
||||
'launcher' => [
|
||||
'disk' => env('MOONWELL_LAUNCHER_DISK', 's3'),
|
||||
'base_path' => env('MOONWELL_LAUNCHER_BASE_PATH', 'World of Warcraft'),
|
||||
'manifest_key' => env('MOONWELL_LAUNCHER_MANIFEST_KEY', 'manifest.json'),
|
||||
],
|
||||
|
||||
'realm' => [
|
||||
'server_name' => env('MOONWELL_SERVER_NAME', 'Moonwell'),
|
||||
'realm_name' => env('MOONWELL_REALM_NAME', 'Moonwell'),
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Passport Guard
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify which authentication guard Passport will use when
|
||||
| authenticating users. This value should correspond with one of your
|
||||
| guards that is already present in your "auth" configuration file.
|
||||
|
|
||||
*/
|
||||
|
||||
'guard' => 'api',
|
||||
|
||||
'middleware' => [],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Encryption Keys
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Passport uses encryption keys while generating secure access tokens for
|
||||
| your application. By default, the keys are stored as local files but
|
||||
| can be set via environment variables when that is more convenient.
|
||||
|
|
||||
*/
|
||||
|
||||
'private_key' => env('PASSPORT_PRIVATE_KEY'),
|
||||
|
||||
'public_key' => env('PASSPORT_PUBLIC_KEY'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Passport Database Connection
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| By default, Passport's models will utilize your application's default
|
||||
| database connection. If you wish to use a different connection you
|
||||
| may specify the configured name of the database connection here.
|
||||
|
|
||||
*/
|
||||
|
||||
'connection' => env('PASSPORT_CONNECTION'),
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user