KSaneCore::Authentication
KSaneCore::Authentication Class Reference
#include <authentication.h>
Public Member Functions | |
void | clearDeviceAuth (const QString &resource) |
void | setDeviceAuth (const QString &resource, const QString &username, const QString &password) |
Static Public Member Functions | |
static void | authorization (SANE_String_Const resource, SANE_Char *username, SANE_Char *password) |
static Authentication * | getInstance () |
Detailed Description
Sane authentication helpers.
Definition at line 26 of file authentication.h.
Constructor & Destructor Documentation
◆ ~Authentication()
KSaneCore::Authentication::~Authentication | ( | ) |
Definition at line 45 of file authentication.cpp.
Member Function Documentation
◆ authorization()
|
static |
static function called by sane_open to get authorization from user
Definition at line 86 of file authentication.cpp.
◆ clearDeviceAuth()
void KSaneCore::Authentication::clearDeviceAuth | ( | const QString & | resource | ) |
Definition at line 74 of file authentication.cpp.
◆ getInstance()
|
static |
Definition at line 33 of file authentication.cpp.
◆ setDeviceAuth()
void KSaneCore::Authentication::setDeviceAuth | ( | const QString & | resource, |
const QString & | username, | ||
const QString & | password ) |
Definition at line 52 of file authentication.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.