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.

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.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Sep 26 2022 04:18:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.