protected function parseAuthenticationConfiguration(array $auth): array
    {
        $driver = $auth['defaults']['guard'] ?? null;

        $guard = $auth['guards'][$driver] ?? [
            'driver' => 'session',
            'provider' => 'users',
        ];

        $provider = $auth['providers'][$guard['provider']] ?? [
            'driver' => 'eloquent',
            'model' => User::class,
        ];

        return \compact('guard', 'provider');
    }