KIO
authinfo.cpp
Go to the documentation of this file.
76QDataStream& operator<< (QDataStream& s, const ExtraField& extraField)
QDataStream & operator>>(QDataStream &s, ExtraField &extraField)
Definition: authinfo.cpp:84
QDataStream & operator<<(QDataStream &s, const ExtraField &extraField)
Definition: authinfo.cpp:76
This class is intended to make it easier to prompt for, cache and retrieve authorization information.
Definition: authinfo.h:58
bool isModified() const
Use this method to check if the object was modified.
Definition: authinfo.cpp:165
void setExtraFieldFlags(const QString &fieldName, const FieldFlags flags)
Set Extra Field Flags.
Definition: authinfo.cpp:182
QString digestInfo
Field to store any extra authentication information for protocols that need it.
Definition: authinfo.h:199
QString realmValue
A unique identifier that allows caching of multiple passwords for different resources in the same ser...
Definition: authinfo.h:189
void setModified(bool flag)
Use this method to indicate that this object has been modified.
Definition: authinfo.cpp:170
bool verifyPath
Flag that, if set, indicates whether a path match should be performed when requesting for cached auth...
Definition: authinfo.h:212
QVariant getExtraField(const QString &fieldName) const
Get Extra Field Value Check QVariant::isValid() to find out if the field exists.
Definition: authinfo.cpp:187
QString comment
Additional comment to be displayed when prompting the user for authentication information.
Definition: authinfo.h:166
QString caption
The text to displayed in the title bar of the password prompting dialog.
Definition: authinfo.h:142
AuthInfo::FieldFlags getExtraFieldFlags(const QString &fieldName) const
Get Extra Field Flags.
Definition: authinfo.cpp:193
void setExtraField(const QString &fieldName, const QVariant &value)
Set Extra Field Value.
Definition: authinfo.cpp:177
QString prompt
Information to be displayed when prompting the user for authentication information.
Definition: authinfo.h:131
QString commentLabel
Descriptive label to be displayed in front of the comment when prompting the user for password.
Definition: authinfo.h:175
A Singleton class that provides access to passwords stored in .netrc files for automatic login purpos...
Definition: authinfo.h:307
bool lookup(const KUrl &url, AutoLogin &login, bool userealnetrc=false, const QString &type=QString(), LookUpMode mode=LookUpMode(exactOnly)|defaultOnly)
Looks up the login information for the given url.
Definition: authinfo.cpp:293
static QString locateLocal(const char *type, const QString &filename, bool createDir, const KComponentData &cData=KGlobal::mainComponent())
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
QString protocol() const
int open(const QString &pathname, int flags, mode_t mode)
int stat(const QString &path, KDE_struct_stat *buf)
QDataStream & operator<<(QDataStream &s, const AuthInfo &a)
Definition: authinfo.cpp:209
KAction * close(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.