williamr@4: /* williamr@4: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: * All rights reserved. williamr@4: * This component and the accompanying materials are made available williamr@4: * under the terms of the License "Eclipse Public License v1.0" williamr@4: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: * williamr@4: * Initial Contributors: williamr@4: * Nokia Corporation - initial contribution. williamr@4: * williamr@4: * Contributors: williamr@4: * williamr@4: * Description: williamr@4: * RAuthMgrClient - external authentication client session interface williamr@4: * The defined fuctionality is used by clients to access the authentication williamr@4: * server for the purpose of managing identities. williamr@4: * The access to a specific functionality is dependant on the client williamr@4: * capabilities and may be restricted. williamr@4: * williamr@4: */ williamr@4: williamr@4: williamr@4: /** williamr@4: @file williamr@4: @publishedAll williamr@4: @released williamr@4: */ williamr@4: williamr@4: #ifndef AUTHMGRCLIENT_H williamr@4: #define AUTHMGRCLIENT_H williamr@4: williamr@4: #include "authserver/authclient.h" williamr@4: williamr@4: namespace AuthServer williamr@4: { williamr@4: williamr@4: /** williamr@4: * Client side interface to the authentication server providing identity williamr@4: * management services. williamr@4: */ williamr@4: class RAuthMgrClient : public RAuthClient williamr@4: { williamr@4: public: williamr@4: williamr@4: IMPORT_C void RegisterIdentityL(CIdentity*& aIdentity, williamr@4: const TDesC& aDescription, williamr@4: TRequestStatus& aRequest); williamr@4: williamr@4: IMPORT_C void RemoveIdentityL(TIdentityId aId); williamr@4: williamr@4: williamr@4: IMPORT_C void TrainPlugin(TIdentityId aId, williamr@4: TPluginId aPlugin, williamr@4: TRequestStatus& aRequest); williamr@4: williamr@4: IMPORT_C void ForgetPluginL(TIdentityId aId, williamr@4: TPluginId aPlugin); williamr@4: williamr@4: IMPORT_C void SetPreferredTypePluginL(TAuthPluginType aPluginType, williamr@4: TPluginId aPluginId); williamr@4: williamr@4: IMPORT_C void ResetIdentityL(TIdentityId aId, williamr@4: const TDesC& aRegistrationInformation); williamr@4: williamr@4: IMPORT_C void ResetIdentityL(TIdentityId aId, williamr@4: TAuthPluginType aPluginType, williamr@4: const TDesC& aRegistrationInformation); williamr@4: williamr@4: IMPORT_C void ResetIdentityL(TIdentityId aId, williamr@4: RArray& aPluginIdList, williamr@4: RPointerArray& aRegistrationInformation); williamr@4: }; williamr@4: } // namespace williamr@4: #endif