23 #include "authservice.h"
24 #include "authserviceimpl.h"
30 impl(new AuthServiceImpl(this))
34 qRegisterMetaType<Error>(
"SignOn::Error");
35 qRegisterMetaType<Error>(
"Error");
37 if (qMetaTypeId<Error>() < QMetaType::User)
38 BLAME() <<
"AuthService::AuthService() - "
39 "SignOn::Error meta type not registered.";
53 impl->queryMechanisms(method);
58 impl->queryIdentities(filter);
QMap< IdentityFilterCriteria, IdentityRegExp > IdentityFilter
Map to hold different filtering options.
void queryMethods()
Requests the information on available authentication methods.
void clear()
Clears credentials database.
~AuthService()
Destructor.
AuthService(QObject *parent=0)
Basic constructor.
void queryIdentities(const IdentityFilter &filter=IdentityFilter())
Requests information on identities which are stored.
void queryMechanisms(const QString &method)
Requests the information on mechanisms which are available for certain authentication type.