32 #include <QStringList>
35 #include "libsignoncommon.h"
36 #include "identityinfo.h"
37 #include "signonerror.h"
54 friend class AuthServiceImpl;
64 InternalServerError = 2,
65 InternalCommunicationError = 3,
66 PermissionDeniedError = 4,
83 } IdentityFilterCriteria;
165 void queryMechanisms(
const QString &method);
235 void identities(
const QList<SignOn::IdentityInfo> &identityList);
244 class AuthServiceImpl *impl;
249 #endif // AUTHSERVICE_H
QString pattern() const
Returns the pattern of regular expression as string.
IdentityRegExp(const QString &pattern)
Constructor creates an IdentityRegExp, as a specified by pattern.
IdentityRegExp(const IdentityRegExp &src)
Copy constructor, creates a copy of src.
QMap< IdentityFilterCriteria, IdentityRegExp > IdentityFilter
void methodsAvailable(const QStringList &methods)
Emitted when the list of available authentication methods have been obtained from the service.
void error(const SignOn::Error &err)
Emitted when an error occurs while using the AuthService.
void identities(const QList< SignOn::IdentityInfo > &identityList)
Lists identities available on the server matching query parameters.
bool isValid() const
Returns the validity of regular expression.
void cleared()
Database is cleared and reset to initial state.
void mechanismsAvailable(const QString &method, const QStringList &mechanisms)
Emitted when the list of available mechanisms have been obtained from the service.