Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

See also:


Member functions


GetUserPasswordL(const TDesC &)

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(const TDesC &)

Parameters

const TDesC16 &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(TUid,void *&)

IMPORT_C virtual 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