WvStreams
Public Member Functions | List of all members
WvDBusServerAuth Class Reference
Inheritance diagram for WvDBusServerAuth:
Inheritance graph
[legend]

Public Member Functions

virtual bool authorize (WvDBusConn &c)
 Main action callback. More...
 
virtual wvuid_t get_uid ()
 

Detailed Description

Definition at line 22 of file wvdbusserver.cc.

Member Function Documentation

◆ authorize()

bool WvDBusServerAuth::authorize ( WvDBusConn c)
virtual

Main action callback.

Called whenever d seems to have data available. Return false if you're not yet authorized and need to be called again when data is available; return true if you're done.

If authorization fails, call seterr on d with an appropriate error message.

Implements IWvDBusAuth.

Definition at line 42 of file wvdbusserver.cc.

References WvFastString::num(), WvStringList::popstr(), WvStream::read(), WvStream::seterr(), WvStringList::split(), and WvEncoder::strflushstr().


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