Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: siphttpdigestchallengeobserver2.h

Class MSIPHttpDigestChallengeObserver2

class MSIPHttpDigestChallengeObserver2;

Description

The user should implement this interface if it intends to provide HTTP Digest credentials upon received challenges from the SIP servers on the signaling path. The user should provide credentials or ignore the challenge using functions defined in CSIPHttpDigest class.

n/a

Members

Defined in MSIPHttpDigestChallengeObserver2:
ChallengeReceived(), ChallengeReceived()


Member functions


ChallengeReceived()

virtual void ChallengeReceived(const CSIPClientTransaction &aTransaction)=0;

Description

A SIP request resulted in 401/407 response that contains 1..n challenges. The challenges can be obtained from Proxy-Authenticate- and/or WWW-Authenticate-headers in the CSIPResponseElements attached to the CSIPClientTransaction. The user must call CSIPHttpDigest::SetCredentialsL or CSIPHttpDigest::IgnoreChallenge for each challenge.

Parameters

const CSIPClientTransaction &aTransaction

transaction which was completed with a response containing HTTP Digest challenge.


ChallengeReceived()

virtual void ChallengeReceived(const CSIPRefresh &aRefresh)=0;

Description

A refreshed SIP request resulted in 401/407 response that contains 1..n challenges. The challenges can be obtained from Proxy-Authenticate- and/or WWW-Authenticate-headers in the CSIPResponseElements attached to the CSIPClientTransaction attached to the CSIPRefresh. The user must call CSIPHttpDigest::SetCredentialsL or CSIPHttpDigest::IgnoreChallenge for each challenge.

Parameters

const CSIPRefresh &aRefresh

the refresh for which a transaction completed with a response containing HTTP Digest challenge.