2
* This file is part of buteo-gcontact-plugin package
4
* Copyright (C) 2015 Canonical Ltd.
6
* Contributors: Renato Araujo Oliveira Filho <renato.filho@canonical.com>
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License
10
* version 2.1 as published by the Free Software Foundation.
12
* This library is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
24
#include "MockAuthenticator.h"
26
MockAuthenticator::MockAuthenticator(QObject *parent)
31
MockAuthenticator::~MockAuthenticator()
35
bool MockAuthenticator::authenticate()
37
// simulate authentication sucess
42
bool MockAuthenticator::init(const quint32 accountId, const QString serviceName)
44
m_accountId = accountId;
45
m_serviceName = serviceName;