35#include "libsignoncommon.h"
36#include "identityinfo.h"
37#include "signonerror.h"
54 friend class AuthServiceImpl;
83 } IdentityFilterCriteria;
235 void identities(
const QList<SignOn::IdentityInfo> &identityList);
244 class AuthServiceImpl *impl;
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.
void queryMethods()
Requests the information on available authentication methods.
void clear()
Clears credentials database.
AuthService(QObject *parent=0)
Basic constructor.
void queryIdentities(const IdentityFilter &filter=IdentityFilter())
Requests information on identities which are stored.
void cleared()
Database is cleared and reset to initial state.
ServiceError
Codes for errors that may be reported by AuthService objects.
@ InternalCommunicationError
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.
void queryMechanisms(const QString &method)
Requests the information on mechanisms which are available for certain authentication type.
QMap< IdentityFilterCriteria, IdentityRegExp > IdentityFilter
Map to hold different filtering options.
definition for Signon error handling.