public function getUser(OAuthDriver $driver, ?string $token = null): ?User 	{ 		$this->lastExceptionMessage = null;  		if (!self::isDriverActive($driver)) { 			return null; 		}  		$hasToken = $token !== null;  		if (!$hasToken) { 			$this->setOAuthConfig($driver); 		}  		try { 			$socialite = $this->getSocialite($driver, $hasToken);  			return $hasToken ? $socialite->userFromToken($token) : $socialite->user(); 		} catch (Exception $exception) { 			$this->lastExceptionMessage = $exception->getMessage(); 		}  		return null; 	}