|
| QgsAuthMethodConfig (const QString &method=QString(), int version=0) |
| Construct a configuration for an authentication method. More...
|
|
void | clearConfigMap () |
| Clear all configs. More...
|
|
QString | config (const QString &key, const QString &defaultvalue=QString()) const |
| Returns a config's value. More...
|
|
QStringList | configList (const QString &key) const |
| Returns a config's list of values. More...
|
|
QgsStringMap | configMap () const |
| Gets extended configuration, mapped to key/value pairs of QStrings. More...
|
|
const QString | configString () const |
| The extended configuration, as stored and retrieved from the authentication database. More...
|
|
bool | hasConfig (const QString &key) const |
| Whether a config key exists in config map. More...
|
|
const QString | id () const |
| Gets 'authcfg' 7-character alphanumeric ID of the config. More...
|
|
bool | isValid (bool validateid=false) const |
| Whether the configuration is valid. More...
|
|
void | loadConfigString (const QString &configstr) |
| Load existing extended configuration. More...
|
|
QString | method () const |
| Textual key of the associated authentication method. More...
|
|
const QString | name () const |
| Gets name of configuration. More...
|
|
bool | operator!= (const QgsAuthMethodConfig &other) const |
| Operator used to compare configs' inequality. More...
|
|
bool | operator== (const QgsAuthMethodConfig &other) const |
| Operator used to compare configs' equality. More...
|
|
bool | readXml (const QDomElement &element) |
| from a DOM element. More...
|
|
int | removeConfig (const QString &key) |
| Remove a config from map. More...
|
|
void | setConfig (const QString &key, const QString &value) |
| Set a single config value per key in the map. More...
|
|
void | setConfigList (const QString &key, const QStringList &value) |
| Set a multiple config values per key in the map. More...
|
|
void | setConfigMap (const QgsStringMap &map) |
| Set extended configuration map. More...
|
|
void | setId (const QString &id) |
| Sets auth config ID. More...
|
|
void | setMethod (const QString &method) |
|
void | setName (const QString &name) |
| Sets name of configuration. More...
|
|
void | setUri (const QString &uri) |
|
void | setVersion (int version) |
| Sets version of the configuration. More...
|
|
const QString | uri () const |
| A URI to auto-select a config when connecting to a resource. More...
|
|
int | version () const |
| Gets version of the configuration. More...
|
|
bool | writeXml (QDomElement &parentElement, QDomDocument &document) |
| Stores the configuration in a DOM. More...
|
|