Base code for session manager that supports user authentification via dbus

This commit is contained in:
DanyLE
2025-03-08 00:43:58 +01:00
parent d82845ecf8
commit c75274f3d2
14 changed files with 917 additions and 1 deletions

6
resources/gresource.xml Normal file
View 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>

View 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>