Base code for session manager that supports user authentification via dbus
This commit is contained in:
6
resources/gresource.xml
Normal file
6
resources/gresource.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/dev/iohub/diya/SessionManager">
|
||||
<file>resources/introspection.xml</file>
|
||||
</gresource>
|
||||
</gresources>
|
10
resources/introspection.xml
Normal file
10
resources/introspection.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<node name = "/dev/iohub/diya">
|
||||
<interface name='dev.iohub.diya.SessionManager'>
|
||||
<method name='login'>
|
||||
<!--annotation name='org.gtk.GDBus.Annotation' value='OnMethod' /-->
|
||||
<arg type='s' name='user' direction='in' />
|
||||
<arg type='s' name='password' direction='in' />
|
||||
<arg type='b' name='result' direction='out' />
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
Reference in New Issue
Block a user