epoc32/include/siphttpdigestchallengeobserver.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * 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
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 * Name        : siphttpdigestchallengeobserver.h
    16 * Part of     : SIP Client
    17 * Interface   : SDK API, SIP Client API
    18 * Version     : 1.0
    19 *
    20 */
    21 
    22 
    23 
    24 #ifndef MSIPHTTPDIGESTCHALLENGEOBSERVER_H
    25 #define MSIPHTTPDIGESTCHALLENGEOBSERVER_H
    26 
    27 // FORWARD DECLARATIONS
    28 
    29 // CLASS DECLARATION
    30 
    31 /**
    32 * @publishedAll
    33 * @released
    34 *
    35 * The user must implement this interface if it intends to
    36 * provide HTTP Digest credentials upon received challenges
    37 * from the SIP servers on the signaling path.
    38 * The user should provide credentials or ignore the challenge
    39 * using functions defined in TSIPHttpDigest class.
    40 *
    41 *  @lib n/a
    42 */
    43 class MSIPHttpDigestChallengeObserver
    44 	{
    45     public: // New functions
    46 		/**
    47 		* SIP request resulted in 401/407 response that contains
    48 		* a challenge.
    49 		*
    50 		* @param aRealm a realm for which the challenge was received
    51 		*/
    52 		virtual void ChallengeReceived(const TDesC8& aRealm) = 0;
    53 	};
    54 
    55 #endif