#include <ext/mw/wsaccount.h>
Link against: wsaccountmanager.lib
| class CWSAccount : public CSenFragmentBase, public CSenFragmentBase |
| Public Member Functions | |
|---|---|
| pure virtual const CWSAccMgrPluginInfo * | AccMgrPluginInfo() |
| pure virtual TInt | AccountErrorCode() |
| pure virtual HBufC8 * | AccountItemL(const TDesC8 &) |
| pure virtual const RArray< RBuf8 > & | AvailableUsernames() |
| pure virtual TBool | CERememberMe() |
| pure virtual void | CERememberMe(TBool) |
| pure virtual HBufC8 * | EmailContactMethod() |
| pure virtual const TDesC8 & | Endpoint() |
| pure virtual const TDesC8 & | FrameworkId() |
| pure virtual CSenIdentityProvider & | IdentityProviderL() |
| pure virtual TBool | IsAutomaticSignInEnabledL() |
| pure virtual TBool | IsCEAccount() |
| pure virtual HBufC8 * | MobileContactMethod() |
| IMPORT_C CWSAccount * | NewL() |
| IMPORT_C CWSAccount * | NewL(const CSenIdentityProvider &) |
| IMPORT_C CWSAccount * | NewLC() |
| IMPORT_C CWSAccount * | NewLC(const CSenIdentityProvider &) |
| pure virtual TBool | OtherDESignedOut() |
| pure virtual const TDesC8 & | Password() |
| pure virtual CCrossEnablerClientUtils * | QTDEObserver() |
| pure virtual TBool | RemoveCEAccount() |
| pure virtual const RArray< RBuf8 > & | SecurityQuestions() |
| pure virtual const RArray< RBuf8 > & | SecurityQuestionsIds() |
| pure virtual void | SetAccMgrPluginInfo(CWSAccMgrPluginInfo *) |
| pure virtual void | SetAccountErrorCode(TInt) |
| pure virtual void | SetAccountItemL(const TDesC8 &, const TDesC8 &) |
| pure virtual void | SetAvailableUsernames(const RArray< RBuf8 > &) |
| pure virtual void | SetDESignedOut(TBool) |
| pure virtual void | SetEmailContactMethod(const TDesC8 &) |
| pure virtual void | SetEndpointL(const TDesC8 &) |
| pure virtual void | SetFrameworkIdL(const TDesC8 &) |
| pure virtual void | SetIsCEAccount(TBool) |
| pure virtual void | SetMobileContactMethod(const TDesC8 &) |
| pure virtual void | SetPasswordL(const TDesC8 &) |
| pure virtual void | SetQTDEObserver(CCrossEnablerClientUtils *) |
| pure virtual void | SetRemoveCEAccount(TBool) |
| pure virtual void | SetSecurityQuestions(const RArray< RBuf8 > &, const RArray< RBuf8 > &) |
| pure virtual void | SetUserIdL(const TDesC8 &) |
| pure virtual void | SetValidatorL(const TDesC8 &) |
| pure virtual const TDesC8 & | UserId() |
| pure virtual const TDesC8 & | ValidatorL() |
| Protected Member Functions | |
|---|---|
| CWSAccount() | |
| Inherited Attributes | |
|---|---|
| CSenFragmentBase::iDocument | |
| CSenFragmentBase::iElement | |
| CSenFragmentBase::iState | |
| CSenFragmentBase::ipContentBuf | |
| CSenFragmentBase::ipContentWriteStream | |
| CSenFragmentBase::ipDelegate | |
| CSenFragmentBase::ipNamespaceArray | |
| CSenFragmentBase::ipOwner | |
| CSenFragmentBase::ipParser | |
| Inherited Functions | |
|---|---|
| CBase::CBase() | |
| CBase::Delete(CBase *) | |
| CBase::Extension_(TUint,TAny *&,TAny *) | |
| CBase::operator new(TUint) | |
| CBase::operator new(TUint,TAny *) | |
| CBase::operator new(TUint,TLeave) | |
| CBase::operator new(TUint,TLeave,TUint) | |
| CBase::operator new(TUint,TUint) | |
| CBase::~CBase() | |
| CSenFragmentBase::AddAttributesL(const RAttributeArray &) | |
| CSenFragmentBase::AddAttributesToElementL(TXmlEngElement,const RAttributeArray &) | |
| CSenFragmentBase::AddContentL(const TDesC8 &) | |
| CSenFragmentBase::AddNamespacesL() | |
| CSenFragmentBase::AsDocumentL() | |
| CSenFragmentBase::AsElementL() | |
| CSenFragmentBase::AsXmlL() | |
| CSenFragmentBase::AsXmlUnicodeL() | |
| CSenFragmentBase::BaseConstructL(TXmlEngElement &,RSenDocument &) | |
| CSenFragmentBase::BaseConstructL(const TDesC8 &) | |
| CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &) | |
| CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &) | |
| CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &,RSenDocument &) | |
| CSenFragmentBase::BaseConstructL(const TXmlEngElement &) | |
| CSenFragmentBase::CSenFragmentBase() | |
| CSenFragmentBase::ConsistsOfL(CSenFragmentBase &) | |
| CSenFragmentBase::ConsistsOfL(TXmlEngElement &,TXmlEngElement &) | |
| CSenFragmentBase::ContentL() | |
| CSenFragmentBase::ContentOf(const TDesC8 &) | |
| CSenFragmentBase::ExtractElement() | |
| CSenFragmentBase::GetExtendedInterface(const TInt32) | |
| CSenFragmentBase::LocalName()const | |
| CSenFragmentBase::Namespace(const TDesC8 &) | |
| CSenFragmentBase::NewL(TXmlEngElement &,RSenDocument &) | |
| CSenFragmentBase::NewL(const TDesC8 &) | |
| CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &) | |
| CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &) | |
| CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &,RSenDocument &) | |
| CSenFragmentBase::NewL(const TXmlEngElement &) | |
| CSenFragmentBase::NsPrefix()const | |
| CSenFragmentBase::NsUri()const | |
| CSenFragmentBase::OnContentL(const TDesC8 &,TInt) | |
| CSenFragmentBase::OnDelegateParsingL(CSenFragmentBase &) | |
| CSenFragmentBase::OnDelegateParsingL(const RTagInfo &,const RAttributeArray &,TInt) | |
| CSenFragmentBase::OnEndDocumentL(TInt) | |
| CSenFragmentBase::OnEndElementL(const RTagInfo &,TInt) | |
| CSenFragmentBase::OnEndPrefixMappingL(const RString &,TInt) | |
| CSenFragmentBase::OnError(TInt) | |
| CSenFragmentBase::OnIgnorableWhiteSpaceL(const TDesC8 &,TInt) | |
| CSenFragmentBase::OnProcessingInstructionL(const TDesC8 &,const TDesC8 &,TInt) | |
| CSenFragmentBase::OnResumeParsingFromL(const RTagInfo &,TInt) | |
| CSenFragmentBase::OnSkippedEntityL(const RString &,TInt) | |
| CSenFragmentBase::OnStartDocumentL(const RDocumentParameters &,TInt) | |
| CSenFragmentBase::OnStartElementL(const RTagInfo &,const RAttributeArray &,TInt) | |
| CSenFragmentBase::OnStartPrefixMappingL(const RString &,const RString &,TInt) | |
| CSenFragmentBase::OnWriteEndElementL(const RTagInfo &) | |
| CSenFragmentBase::OnWriteStartElementL(const RTagInfo &,const RAttributeArray &) | |
| CSenFragmentBase::RenameL(const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::RenameL(const TDesC8 &,const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::RenameLocalNameL(const TDesC8 &) | |
| CSenFragmentBase::RenameNamespaceL(const TDesC8 &) | |
| CSenFragmentBase::RenameNamespaceL(const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::RenamePrefixL(const TDesC8 &) | |
| CSenFragmentBase::ResetContentL() | |
| CSenFragmentBase::SetContentHandler(CSenFragmentBase &) | |
| CSenFragmentBase::SetContentL(const TDesC8 &) | |
| CSenFragmentBase::SetContentOfL(const TDesC8 &,const TDesC8 &) | |
| CSenFragmentBase::SetDocument(RSenDocument &) | |
| CSenFragmentBase::SetOwner(CSenFragmentBase &) | |
| CSenFragmentBase::StartSavingContent() | |
| CSenFragmentBase::WriteAsXMLToL(RWriteStream &) | |
| CSenFragmentBase::~CSenFragmentBase() | |
Represents account from backend (server side) and aggregates its information. Specialized collection which holds account specific values.
| CWSAccount | ( | ) | [protected] |
| const CWSAccMgrPluginInfo * | AccMgrPluginInfo | ( | ) | const [pure virtual] |
| TInt | AccountErrorCode | ( | ) | [pure virtual] |
| TBool | CERememberMe | ( | ) | const [pure virtual] |
| void | CERememberMe | ( | TBool | aFlag | ) | [pure virtual] |
| const TDesC8 & | Endpoint | ( | ) | const [pure virtual] |
| const TDesC8 & | FrameworkId | ( | ) | const [pure virtual] |
| CSenIdentityProvider & | IdentityProviderL | ( | ) | [pure virtual] |
| TBool | IsAutomaticSignInEnabledL | ( | ) | [pure virtual] |
Checks, if the automatic sign in flag has been enabled
| TBool | IsCEAccount | ( | ) | const [pure virtual] |
| IMPORT_C CWSAccount * | NewL | ( | ) | [static] |
| IMPORT_C CWSAccount * | NewL | ( | const CSenIdentityProvider & | aIdentityProvider | ) | [static] |
Creates an object representing an account. Variant of Factory method which adapts identityProvider information from web service framework
See also: CSenIdentityProvider
| Parameters | |
|---|---|
| aIdentityProvider | - identity provider representing the account |
| IMPORT_C CWSAccount * | NewLC | ( | ) | [static] |
| IMPORT_C CWSAccount * | NewLC | ( | const CSenIdentityProvider & | aIdentityProvider | ) | [static] |
Creates an object representing an account. Variant of Factory method which adapts identityProvider information from web service framework
See also: CSenIdentityProvider
| Parameters | |
|---|---|
| aIdentityProvider | - identity provider representing the account |
| TBool | OtherDESignedOut | ( | ) | const [pure virtual] |
| const TDesC8 & | Password | ( | ) | const [pure virtual] |
| CCrossEnablerClientUtils * | QTDEObserver | ( | ) | const [pure virtual] |
| TBool | RemoveCEAccount | ( | ) | const [pure virtual] |
| void | SetAccMgrPluginInfo | ( | CWSAccMgrPluginInfo * | aPluginInfo | ) | [pure virtual] |
| Parameters | |
|---|---|
| aPluginInfo | - account manager plugin information. Ownership is transferred |
| void | SetAccountErrorCode | ( | TInt | aErrorCode | ) | [pure virtual] |
| void | SetDESignedOut | ( | TBool | aFlag | ) | [pure virtual] |
| void | SetEmailContactMethod | ( | const TDesC8 & | aEmailContactMethod | ) | [pure virtual] |
| void | SetEndpointL | ( | const TDesC8 & | aEndpoint | ) | [pure virtual] |
| Parameters | |
|---|---|
| aEndpoint | - endpoint of authentication service |
| void | SetFrameworkIdL | ( | const TDesC8 & | aFrameworkId | ) | [pure virtual] |
| Parameters | |
|---|---|
| aFrameworkId | - framework Id |
| void | SetIsCEAccount | ( | TBool | aFlag | ) | [pure virtual] |
| void | SetMobileContactMethod | ( | const TDesC8 & | aMobileContactMethod | ) | [pure virtual] |
| void | SetPasswordL | ( | const TDesC8 & | aPassword | ) | [pure virtual] |
| Parameters | |
|---|---|
| aPassword | - password of account |
| void | SetQTDEObserver | ( | CCrossEnablerClientUtils * | aQTDEObserver | ) | [pure virtual] |
| Parameters | |
|---|---|
| aQTDEObserver | - QTDEUtils object |
| void | SetRemoveCEAccount | ( | TBool | aFlag | ) | [pure virtual] |
| void | SetSecurityQuestions | ( | const RArray< RBuf8 > & | aSecurityQuestions, |
| const RArray< RBuf8 > & | aSecurityQuestionsIds | |||
| ) | [pure virtual] | |||
| void | SetUserIdL | ( | const TDesC8 & | aAccountName | ) | [pure virtual] |
| Parameters | |
|---|---|
| aAccountName | - unique id for account |
| void | SetValidatorL | ( | const TDesC8 & | aValidator | ) | [pure virtual] |
| const TDesC8 & | UserId | ( | ) | const [pure virtual] |
| const TDesC8 & | ValidatorL | ( | ) | [pure virtual] |