I 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 &aProviderID) |
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) |
| Creates http-credentials by making password-username pair and encoding it with BASE-64.
|
IMPORT_C const TDesC8 & | NewElementName () |
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) |