ARC SDK
Public Types | Public Member Functions
Arc::PasswordSource Class Referenceabstract

Obtain password from some source. More...

#include <PasswordSource.h>

Inheritance diagram for Arc::PasswordSource:
Arc::PasswordSourceInteractive Arc::PasswordSourceNone Arc::PasswordSourceStream Arc::PasswordSourceString

Public Types

enum  Result { NO_PASSWORD = 0, PASSWORD = 1, CANCEL = 2 }
 

Public Member Functions

virtual Result Get (std::string &password, int minsize, int maxsize)=0
 

Detailed Description

Obtain password from some source.

Pure virtual class meant to be extended with a specific mechanism to obtain password.

Since
Added in 4.0.0.

Member Enumeration Documentation

◆ Result

Enumerator
NO_PASSWORD 

No password is returned. Authoritative. Not same as empty password.

PASSWORD 

Password is provided. Authoritative.

CANCEL 

Request to cancel procedure which need password.


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