HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers85/equichecker.com/vendor/kbwebs/multiauth/src/AuthServiceProvider.php
<?php

namespace Kbwebs\MultiAuth;

use Illuminate\Auth\AuthServiceProvider as OriginalAuthServiceProvider;

class AuthServiceProvider extends OriginalAuthServiceProvider
{
	/**
	* Register bindings in the container.
	* @return void
	*/
	protected function registerAuthenticator()
	{
		$this->app->singleton('auth', function ($app) {
			// Once the authentication service has actually been requested by the developer
			// we will set a variable in the application indicating such. This helps us
			// know that we need to set any queued cookies in the after event later.
			$app['auth.loaded'] = true;
			return new MultiManager($app);
		});
		$this->app->singleton('auth.driver', function ($app) {
			return $app['auth']->driver();
		});
	}

	/**
     * Get the services provided by the provider.
     * @return array
     */
    public function provides()
    {
        return ['auth'];
    }
}