KSaneCore::Authentication

Search for usage in LXR

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

Detailed Description

Sane authentication helpers.

Definition at line 26 of file authentication.h.

Constructor & Destructor Documentation

◆ ~Authentication()

KSaneCore::Authentication::~Authentication ( )

Definition at line 49 of file authentication.cpp.

Member Function Documentation

◆ authorization()

void KSaneCore::Authentication::authorization ( SANE_String_Const resource,
SANE_Char * username,
SANE_Char * password )
static

static function called by sane_open to get authorization from user

Definition at line 94 of file authentication.cpp.

◆ clearDeviceAuth()

void KSaneCore::Authentication::clearDeviceAuth ( const QString & resource)

Definition at line 82 of file authentication.cpp.

◆ getInstance()

Authentication * KSaneCore::Authentication::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 60 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 Fri Jul 26 2024 11:57:17 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.