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;
The class represents a regular expression.
IdentityRegExp(const IdentityRegExp &src)
Copy constructor, creates a copy of src.
QString pattern() const
Returns the pattern of regular expression as string.
bool isValid() const
Returns the validity of regular expression.
IdentityRegExp(const QString &pattern)
Constructor creates an IdentityRegExp, as a specified by pattern.
Represents signon for client application.
QMap< IdentityFilterCriteria, IdentityRegExp > IdentityFilter
Map to hold different filtering options.
void cleared()
Database is cleared and reset to initial state.
ServiceError
Codes for errors that may be reported by AuthService objects.
void mechanismsAvailable(const QString &method, const QStringList &mechanisms)
Emitted when the list of available mechanisms have been obtained from the service.
void identities(const QList< SignOn::IdentityInfo > &identityList)
Lists identities available on the server matching query parameters.
void error(const SignOn::Error &err)
Emitted when an error occurs while using the AuthService.
void methodsAvailable(const QStringList &methods)
Emitted when the list of available authentication methods have been obtained from the service.
definition for Signon error handling.