#include <auth.h>
Public Methods | |
Auth (Hbci *hbci) | |
virtual | ~Auth () |
virtual Error | getSecret (Pointer< User > user, const string &token, string &secret, bool createSecret=false) |
This class provides a method to retrieve a secret (e.g. a pin). The default implementation calls Interactor::msgInputPin(). You may inherit this class to introduce new retrieving mechanisms.
|
Constructor.
|
|
|
|
This method retrieves a PIN and writes it into the string reference argument 'secret'. The default implementation calls Interactor::msgInputPin(). If you want to retrieve the PIN by any other means, you can provide your own derivation of Auth and override this method. You may use the given token to identify the secret.
|