epoc32/include/siphttpdigestchallengeobserver.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/siphttpdigestchallengeobserver.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/siphttpdigestchallengeobserver.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,55 @@
     1.4 -siphttpdigestchallengeobserver.h
     1.5 +/*
     1.6 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:
    1.19 +* Name        : siphttpdigestchallengeobserver.h
    1.20 +* Part of     : SIP Client
    1.21 +* Interface   : SDK API, SIP Client API
    1.22 +* Version     : 1.0
    1.23 +*
    1.24 +*/
    1.25 +
    1.26 +
    1.27 +
    1.28 +#ifndef MSIPHTTPDIGESTCHALLENGEOBSERVER_H
    1.29 +#define MSIPHTTPDIGESTCHALLENGEOBSERVER_H
    1.30 +
    1.31 +// FORWARD DECLARATIONS
    1.32 +
    1.33 +// CLASS DECLARATION
    1.34 +
    1.35 +/**
    1.36 +* @publishedAll
    1.37 +* @released
    1.38 +*
    1.39 +* The user must implement this interface if it intends to
    1.40 +* provide HTTP Digest credentials upon received challenges
    1.41 +* from the SIP servers on the signaling path.
    1.42 +* The user should provide credentials or ignore the challenge
    1.43 +* using functions defined in TSIPHttpDigest class.
    1.44 +*
    1.45 +*  @lib n/a
    1.46 +*/
    1.47 +class MSIPHttpDigestChallengeObserver
    1.48 +	{
    1.49 +    public: // New functions
    1.50 +		/**
    1.51 +		* SIP request resulted in 401/407 response that contains
    1.52 +		* a challenge.
    1.53 +		*
    1.54 +		* @param aRealm a realm for which the challenge was received
    1.55 +		*/
    1.56 +		virtual void ChallengeReceived(const TDesC8& aRealm) = 0;
    1.57 +	};
    1.58 +
    1.59 +#endif