Digital Authentication Framework 6.0.1.33
Public Member Functions

DADevice Class Reference

Interface to device object. More...

#include <DigitalAuthenticationFramework.h>

List of all members.

Public Member Functions

virtual ~DADevice ()
 virtual destructor
virtual DAMetaDatagetInfo ()=0
 Get metadata object describing device.
virtual DASessioncreateSession (DAData &authToken)=0
 Connects to the authentication device, using the supplied credentials.
virtual DAErrorgetLastError ()=0
 Return current error status.

Detailed Description

Interface to device object.

Note this generally represents configured information about a hardware device. The device itself doesn't have to be connected at the time this object exists.


Constructor & Destructor Documentation

virtual DADevice::~DADevice ( ) [inline, virtual]

virtual destructor


Member Function Documentation

virtual DASession* DADevice::createSession ( DAData authToken) [pure virtual]

Connects to the authentication device, using the supplied credentials.

Parameters:
authTokenOpaque authorisation data, returned by device-specific UI.
Returns:
Pointer to session, or NULL if error. This pointer should be deleted to close the session.
virtual DAMetaData& DADevice::getInfo ( ) [pure virtual]

Get metadata object describing device.

Returns:
Reference to metadata object. This can be assumed to stay static throughout the life of the DADevice object.
virtual DAError& DADevice::getLastError ( ) [pure virtual]

Return current error status.

You can check this at any time, even if no error has occurred.


The documentation for this class was generated from the following file: