Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: obexbase.h
Link against: obex.lib

Class MObexAuthChallengeHandler

class MObexAuthChallengeHandler;

Description

This class is the common base class for any object which wishes to use the Obex Server or Client. The class which owns a CObexClient or CObexServer must be provide an object derived from this class to handle the call from the Server/Client for a request for a Password.

Members

Defined in MObexAuthChallengeHandler:
GetUserPasswordL(), MOACH_ExtensionInterfaceL()


Member functions


GetUserPasswordL()

virtual void GetUserPasswordL(const TDesC &aRealm)=0;

Description

Indicates that the server/client has received an Authentication challenge. The challenge can only be responded to once a password has been retrieved by some means and passed back to the calling class. The password is passed back via CObex::UserPasswordL

Parameters

const TDesC &aRealm

This will contain the Realm specified by the unit forcing the Authentication, if no UserID was supplied then this parameter will be of zero length.


MOACH_ExtensionInterfaceL()

virtual IMPORT_C void MOACH_ExtensionInterfaceL(TUid aInterface, void *&aObject);

Description

Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is.

Parameters

TUid aInterface

UID of the interface to return

void *&aObject

the container for another interface as specified by aInterface