2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * RAuthMgrClient - external authentication client session interface
16 * The defined fuctionality is used by clients to access the authentication
17 * server for the purpose of managing identities.
18 * The access to a specific functionality is dependant on the client
19 * capabilities and may be restricted.
30 #ifndef AUTHMGRCLIENT_H
31 #define AUTHMGRCLIENT_H
33 #include "authserver/authclient.h"
39 * Client side interface to the authentication server providing identity
40 * management services.
42 class RAuthMgrClient : public RAuthClient
46 IMPORT_C void RegisterIdentityL(CIdentity*& aIdentity,
47 const TDesC& aDescription,
48 TRequestStatus& aRequest);
50 IMPORT_C void RemoveIdentityL(TIdentityId aId);
53 IMPORT_C void TrainPlugin(TIdentityId aId,
55 TRequestStatus& aRequest);
57 IMPORT_C void ForgetPluginL(TIdentityId aId,
60 IMPORT_C void SetPreferredTypePluginL(TAuthPluginType aPluginType,
63 IMPORT_C void ResetIdentityL(TIdentityId aId,
64 const TDesC& aRegistrationInformation);
66 IMPORT_C void ResetIdentityL(TIdentityId aId,
67 TAuthPluginType aPluginType,
68 const TDesC& aRegistrationInformation);
70 IMPORT_C void ResetIdentityL(TIdentityId aId,
71 RArray<TPluginId>& aPluginIdList,
72 RPointerArray<const HBufC>& aRegistrationInformation);