Digital Authentication Framework  6.0.1.37
Public Member Functions | List of all members
DADevice Class Referenceabstract

Interface to device object. More...

#include <DigitalAuthenticationFramework.h>

Public Member Functions

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

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 ( )
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: