applayerprotocols/httpservice/inc/mhttpserviceauthentication.h
branchRCL_3
changeset 7 337070b4fa18
child 39 c0c2f28ace9c
equal deleted inserted replaced
3:5ee1d9ce5878 7:337070b4fa18
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file MHTTPServiceAuthentication.h
       
    18  */
       
    19 
       
    20 #ifndef __MHTTPSERVICEAUTHENTICATION_H__
       
    21 #define __MHTTPSERVICEAUTHENTICATION_H__ 
       
    22 
       
    23 // System includes
       
    24 #include <e32base.h>
       
    25 
       
    26 class MHTTPServiceAuthentication
       
    27 /** 
       
    28 The mixin that needs to be implemented if authentication is to be
       
    29 supported. This supplies the username and password when they are
       
    30 needed for authentication.
       
    31 
       
    32 @publishedAll
       
    33 @released
       
    34 */
       
    35     {
       
    36  public:
       
    37      virtual TInt OnAuthentication(const TDesC8& aUri, const TDesC8& aRealm, const TDesC8& aType, RBuf8& aUsername, RBuf8& aPassword) = 0;
       
    38     };
       
    39 
       
    40 #endif //   __MHTTPSERVICEAUTHENTICATION_H__