class AuthInfo

# class AuthInfo | A two way messaging class for passing authentication information. More...
Full name | `KIO::AuthInfo`
Definition | `#include <authinfo.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- AuthInfo ()
- AuthInfo ( const AuthInfo& info )
- AuthInfo& operator= ( const AuthInfo& info )
- bool isModified () const
- void setModified ( bool flag )

#### Public Members

- KURL url
- QString username
- QString password
- QString prompt
- QString caption
- QString comment
- QString commentLabel
- QString realmValue
- QString digestInfo
- bool verifyPath
- bool readOnly
- bool keepPassword

#### Protected Members

- bool modified

## 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]

- Author: Dawit Alemayehu
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.