
Public Member Functions | |
| AuthenticationChallengeBase () | |
| AuthenticationChallengeBase default constructor. | |
| AuthenticationChallengeBase (const ProtectionSpace &protectionSpace, const Credential &proposedCredential, unsigned previousFailureCount, const ResourceResponse &response, const ResourceError &error) | |
| AuthenticationChallengeBase constructor. | |
| unsigned | previousFailureCount () const |
| get previous failure count | |
| const Credential & | proposedCredential () const |
| get proposed credential | |
| const ProtectionSpace & | protectionSpace () const |
| get protection space | |
| const ResourceResponse & | failureResponse () const |
| get failure response | |
| const ResourceError & | error () const |
| error | |
| bool | isNull () const |
| test if AuthenticationChallengeBase is null | |
| void | nullify () |
| nullify | |
Static Public Member Functions | |
| static bool | compare (const AuthenticationChallenge &a, const AuthenticationChallenge &b) |
| compare | |
Static Protected Member Functions | |
| static bool | platformCompare (const AuthenticationChallengeBase &a, const AuthenticationChallengeBase &b) |
| platform compare | |
Protected Attributes | |
| bool | m_isNull |
| ProtectionSpace | m_protectionSpace |
| Credential | m_proposedCredential |
| unsigned | m_previousFailureCount |
| ResourceResponse | m_failureResponse |
| ResourceError | m_error |
| WKAL::AuthenticationChallengeBase::AuthenticationChallengeBase | ( | ) |
AuthenticationChallengeBase default constructor.
| WKAL::AuthenticationChallengeBase::AuthenticationChallengeBase | ( | const ProtectionSpace & | protectionSpace, | |
| const Credential & | proposedCredential, | |||
| unsigned | previousFailureCount, | |||
| const ResourceResponse & | response, | |||
| const ResourceError & | error | |||
| ) |
AuthenticationChallengeBase constructor.
| [in] | : | protection space |
| [in] | : | proposed credential |
| [in] | : | previous failure count |
| [in] | : | resource response |
| [in] | : | error AuthenticationChallengeBase *a = new AuthenticationChallengeBase(ps, pc, pfc, re, e); |
| unsigned WKAL::AuthenticationChallengeBase::previousFailureCount | ( | ) | const |
get previous failure count
| [out] | : | failure count unsigned c = a->previousFailureCount();
|
| const Credential& WKAL::AuthenticationChallengeBase::proposedCredential | ( | ) | const |
get proposed credential
| [out] | : | proposed credential Credential c = a->proposedCredential(); |
| const ProtectionSpace& WKAL::AuthenticationChallengeBase::protectionSpace | ( | ) | const |
get protection space
| [out] | : | protection space ProtectionSpace s = a->protectionSpace(); |
| const ResourceResponse& WKAL::AuthenticationChallengeBase::failureResponse | ( | ) | const |
get failure response
| [out] | : | failure response ResourceResponse r = a->failureResponse(); |
| const ResourceError& WKAL::AuthenticationChallengeBase::error | ( | ) | const |
error
| [out] | : | resource error ResourceError e = a->error(); |
| bool WKAL::AuthenticationChallengeBase::isNull | ( | ) | const |
test if AuthenticationChallengeBase is null
| [out] | : | true if AuthenticationChallengeBase is null bool n = a->isNull();
|
| void WKAL::AuthenticationChallengeBase::nullify | ( | ) |
nullify
a->nullify();
| static bool WKAL::AuthenticationChallengeBase::compare | ( | const AuthenticationChallenge & | a, | |
| const AuthenticationChallenge & | b | |||
| ) | [static] |
compare
| [in] | : | AuthenticationChallenge |
| [in] | : | AuthenticationChallenge |
| [out] | : | true if the two AuthenticationChallenge is equal bool e = AuthenticationChallenge::compare(a, b); |
| static bool WKAL::AuthenticationChallengeBase::platformCompare | ( | const AuthenticationChallengeBase & | a, | |
| const AuthenticationChallengeBase & | b | |||
| ) | [static, protected] |
platform compare
| [in] | : | AuthenticationChallengeBase |
| [in] | : | AuthenticationChallengeBase |
| [out] | : | true if the two AuthenticationChallenge is equal |
bool WKAL::AuthenticationChallengeBase::m_isNull [protected] |
unsigned WKAL::AuthenticationChallengeBase::m_previousFailureCount [protected] |