00001 /* 00002 * ============================================================================== 00003 * Name : MSenAuthenticationProvider.h 00004 * Part of : Web Services - Utilities 00005 * Interface : Service Connectino and Service Manager (public API) 00006 * Description : Callback interface through which (web service consumer/management) 00007 * applications can provide userinfo / account (username & password) 00008 * to WS-stack. This information can be used in actual authentication 00009 * with (remote) web service (Liberty Authentication Service or 00010 * WS-* STS), or locally (in device) to allow secure access to private 00011 * information (like credentials to the service, etc). 00012 * 00013 * Version : 00014 * 00015 * Copyright © 2002-2007 Nokia. All rights reserved. 00016 * This material, including documentation and any related 00017 * computer programs, is protected by copyright controlled by 00018 * Nokia. All rights are reserved. Copying, including 00019 * reproducing, storing, adapting or translating, any 00020 * or all of this material requires the prior written consent of 00021 * Nokia. This material also contains confidential 00022 * information which may not be disclosed to others without the 00023 * prior written consent of Nokia. 00024 * ============================================================================== 00025 */ 00026 00027 #ifndef M_SEN_AUTHENTICATION_PROVIDER_H 00028 #define M_SEN_AUTHENTICATION_PROVIDER_H 00029 00030 // INCLUDES 00031 #include <e32std.h> 00032 00033 // FORWARD DECLARATIONS 00034 class CSenIdentityProvider; 00035 00051 class MSenAuthenticationProvider 00052 { 00053 public: 00066 virtual const CSenIdentityProvider* IdentityProviderL() { return NULL; } 00067 00083 virtual const TPtrC8 UsernameL() { return TPtrC8(KNullDesC8); } 00084 00099 virtual const TPtrC8 PasswordL() { return TPtrC8(KNullDesC8); } 00100 00108 inline virtual TAny* ExtendedInterface(const TInt32 /* aUid */) { return NULL; } 00109 }; 00110 00111 #endif // M_SEN_PROPERTIES_H 00112 00113 // End of File 00114