public function handle($event)
    {
        $guard = null;

        // We'll retrieve the auth guard if available.
        if (property_exists($event, 'guard')) {
            $guard = $event->guard;
        }

        // Before we bind the users LDAP model, we will verify they are using
        // the Adldap authentication provider, and the required trait.
        if ($this->isUsingAdldapProvider($guard) && $this->canBind($event->user)) {
            $event->user->setLdapUser(
                Resolver::byModel($event->user)
            );
        }
    }