/* * Copyright (c) 2012 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #include namespace Swift { EXTERNALClientAuthenticator::EXTERNALClientAuthenticator() : ClientAuthenticator("EXTERNAL"), finished(false) { } boost::optional EXTERNALClientAuthenticator::getResponse() const { return boost::optional(); } bool EXTERNALClientAuthenticator::setChallenge(const boost::optional&) { if (finished) { return false; } finished = true; return true; } }