Link against: SenServDesc.LIB
NetworkServices ReadUserData WriteUserData
#include <SenIdentityProvider.h>
Inherits CSenXmlServiceDescription.
In case of ID-WSF framework, the IdentityProvider and Authentication Service are behind same endpoint. Typically, ID-WSF service consumers call both RegisterIdentityProviderL() and RegisterServiceDescriptionL() methods as defined in Service Management API (CSenServiceManager). Basic Web Service consumers use this class to register BASIC-AUTH credentials to certain pre-known service endpoint.
Public Member Functions |
|
virtual IMPORT_C | ~CSenIdentityProvider () |
Destructor. |
|
virtual IMPORT_C TPtrC8 | AuthzID () |
A getter. |
|
virtual IMPORT_C TPtrC8 | AdvisoryAuthnID () |
A getter. |
|
IMPORT_C TPtrC8 | ProviderID () |
A getter. |
|
virtual IMPORT_C TPtrC8 | Password () |
A getter. |
|
IMPORT_C const TDesC8 & | IMEI () |
A getter. |
|
IMPORT_C TPtrC8 | UserName () |
A getter. |
|
IMPORT_C TInt | SetProviderID (const TDesC8 &aProviderID) |
Setter. |
|
IMPORT_C TInt | SetServiceID (const TDesC8 &aServiceID) |
Setter for ServiceID. |
|
IMPORT_C TBool | IsTrustedByL (MSenServiceDescription &aServiceDescription) |
IMPORT_C TBool | IsTrustedByL (const TDesC8 &aProviderIdOrServiceId) |
IMPORT_C TBool | IsDefault () |
Checks if this identity provider is set as default . |
|
IMPORT_C TInt | SetUserInfoL (const TDesC8 &aAuthzID, const TDesC8 &aAdvisoryAuthnID, const TDesC8 &aPassword) |
Sets the user information. |
|
IMPORT_C HBufC8 * | HttpCredentialsL (MSenIdentityManager &aIdMgr) |
IMPORT_C const TDesC8 & | NewElementName () |
IMPORT_C TInt | SetProviderIdL (const TDesC8 &aProviderID) |
Setter for (identity) provider ID (leaving variant). |
|
IMPORT_C TInt | SetAccountExtensionsL (const TDesC8 &aDetail) |
IMPORT_C TPtrC8 | AccountExtensions (CSenElement *&aAccExt) |
Static Public Member Functions |
|
static IMPORT_C CSenIdentityProvider * | NewL (const TDesC8 &aEndpoint) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewLC (const TDesC8 &aEndpoint) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewL (const TDesC8 &aEndpoint, const TDesC8 &aContract) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewLC (const TDesC8 &aEndpoint, const TDesC8 &aContract) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewL (const TDesC8 &aEndpoint, const TDesC8 &aContract, const TDesC8 &aProviderID) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewLC (const TDesC8 &aEndpoint, const TDesC8 &aContract, const TDesC8 &aProviderID) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewL (const TDesC8 &aEndpoint, const TDesC8 &aContract, const TDesC8 &aProviderID, const TDesC8 &aServiceID) |
Two-phased constructor. |
|
static IMPORT_C CSenIdentityProvider * | NewLC (const TDesC8 &aEndpoint, const TDesC8 &aContract, const TDesC8 &aProviderID, const TDesC8 &aServiceID) |
Two-phased constructor. |
|
Protected Member Functions |
|
IMPORT_C | CSenIdentityProvider (TDescriptionClassType aType) |
IMPORT_C void | ConstructL (const TDesC8 &aEndPoint) |
Standard 2nd phase constructor. |
|
IMPORT_C void | ConstructL (const TDesC8 &aEndPoint, const TDesC8 &aContract) |
IMPORT_C void | ConstructL (const TDesC8 &aEndPoint, const TDesC8 &aContract, const TDesC8 &aProviderID) |
IMPORT_C void | ConstructL (const TDesC8 &aEndPoint, const TDesC8 &aContract, const TDesC8 &aProviderID, const TDesC8 &aServiceID) |
|
Destructor. |
|
|
|
A getter.
|
|
A getter.
|
|
|
|
|
|
Reimplemented from CSenXmlServiceDescription. |
|
Standard 2nd phase constructor.
Reimplemented from CSenXmlServiceDescription. |
|
|
|
A getter.
|
|
Checks if this identity provider is set as default .
|
|
|
|
|
|
Reimplemented from CSenXmlServiceDescription. |
|
Two-phased constructor.
|
|
Two-phased constructor.
Reimplemented from CSenDomFragment. |
|
Two-phased constructor.
Reimplemented from CSenXmlServiceDescription. |
|
Two-phased constructor. Note: contract defaults here to "urn:liberty:as:2004-04"
Reimplemented from CSenXmlServiceDescription. |
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
Reimplemented from CSenXmlServiceDescription. |
|
Two-phased constructor. Note: contract defaults here to "urn:liberty:as:2004-04"
Reimplemented from CSenXmlServiceDescription. |
|
A getter.
|
|
A getter.
|
|
|
Setter.
|
|
Setter for (identity) provider ID (leaving variant).
Reimplemented from CSenXmlServiceDescription. |
|
Setter for ServiceID. ServiceID is the contract of some invocable service, typically some URN. Note, that when registering an IDP the possibly existing list of ServiceIDs is not cleared, but the ServiceID set via this method is added as new entry into that list, if it was non-existent.
|
|
Sets the user information. Status codes: KErrNone ok Other codes are system error codes.
|
|
A getter.
|