class AuthInfo

A two way messaging class for passing authentication information. More...

Full nameKIO::AuthInfo
Definition#include <authinfo.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Protected Members


Detailed Description

This class is intended to make it easier to prompt for, cache and retrieve authorization information.

When using this class to cache, retrieve or prompt authentication information, you only need to set the necessary attributes. For example, to check whether a password is already cached, the only required information is the URL of the resource and optionally whether or not a path match should be performed. Similarly, to prompt for password you only need to optionally set the prompt, username (if already supplied), comment and commentLabel fields.

SPECIAL NOTE: If you extend this class to add additional paramters do not forget to overload the stream insertion and extraction operators ("<<" and ">>") so that the added data can be correctly serialzed.

 AuthInfo ()

AuthInfo

Default constructor.

 AuthInfo ( const AuthInfo& info )

AuthInfo

Copy constructor.

AuthInfo&  operator= ( const AuthInfo& info )

operator=

Overloaded equal to operator.

bool  isModified ()

isModified

[const]

Use this method to check if the object was modified.

void  setModified ( bool flag )

setModified

Use this method to indicate that this object has been modified.

KURL url

url

QString username

username

QString password

password

QString prompt

prompt

QString caption

caption

QString comment

comment

QString commentLabel

commentLabel

QString realmValue

realmValue

QString digestInfo

digestInfo

bool verifyPath

verifyPath

bool readOnly

readOnly

bool keepPassword

keepPassword

bool modified

modified

[protected]