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');
    }
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');
    }
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' ) ; }
Resolve auth configuration.

@param  array  $auth

@return array
Resolve auth configuration .