realtimenetprots/sipfw/SIP/sipapi/api/siphttpdigestchallengeobserver.h
changeset 0 307788aac0a8
child 4 dd3853b8dc3f
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.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