00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "authservice.h"
00024 #include "authserviceimpl.h"
00025
00026 namespace SignOn {
00027
00028 AuthService::AuthService(QObject *parent): QObject(parent),
00029 impl(new AuthServiceImpl(this))
00030 {
00031 qRegisterMetaType<Error>("SignOn::Error");
00032 qRegisterMetaType<Error>("Error");
00033
00034 if (qMetaTypeId<Error>() < QMetaType::User)
00035 BLAME() << "AuthService::AuthService() - "
00036 "SignOn::Error meta type not registered.";
00037 }
00038
00039 AuthService::~AuthService()
00040 {
00041 }
00042
00043 void AuthService::queryMethods()
00044 {
00045 impl->queryMethods();
00046 }
00047
00048 void AuthService::queryMechanisms(const QString &method)
00049 {
00050 impl->queryMechanisms(method);
00051 }
00052
00053 void AuthService::queryIdentities(const IdentityFilter &filter)
00054 {
00055 impl->queryIdentities(filter);
00056 }
00057
00058 void AuthService::clear()
00059 {
00060 impl->clear();
00061 }
00062
00063 }