CLEANFILES = \
$(BUILT_SOURCES) \
- sso-auth-service-gen-doc-com.google.code.AccountsSSO.SingleSignOn.AuthService.xml \
- sso-auth-session-gen-doc-com.google.code.AccountsSSO.SingleSignOn.AuthSession.xml \
- sso-identity-gen-doc-com.google.code.AccountsSSO.SingleSignOn.Identity.xml
+ sso-auth-service-gen-doc-com.google.code.AccountsSSO.gSingleSignOn.AuthService.xml \
+ sso-auth-session-gen-doc-com.google.code.AccountsSSO.gSingleSignOn.AuthSession.xml \
+ sso-identity-gen-doc-com.google.code.AccountsSSO.gSingleSignOn.Identity.xml
libsignon_glib_la_SOURCES = \
signon-auth-service.h \
# default is /usr/share/dbus-1/interfaces
DBUS_INTERFACES_DIR = interfaces
-sso-auth-service-gen.h sso-auth-service-gen.c: $(DBUS_INTERFACES_DIR)/com.google.code.AccountsSSO.SingleSignOn.AuthService.xml
+sso-auth-service-gen.h sso-auth-service-gen.c: $(DBUS_INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.AuthService.xml
$(AM_V_GEN)gdbus-codegen \
--generate-c-code sso-auth-service-gen \
--generate-docbook sso-auth-service-gen-doc \
- --annotate "com.google.code.AccountsSSO.SingleSignOn.AuthService" org.gtk.GDBus.C.Name SsoAuthService \
+ --annotate "com.google.code.AccountsSSO.gSingleSignOn.AuthService" org.gtk.GDBus.C.Name SsoAuthService \
$<
-sso-auth-session-gen.h sso-auth-session-gen.c: $(DBUS_INTERFACES_DIR)/com.google.code.AccountsSSO.SingleSignOn.AuthSession.xml
+sso-auth-session-gen.h sso-auth-session-gen.c: $(DBUS_INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.AuthSession.xml
$(AM_V_GEN)gdbus-codegen \
--generate-c-code sso-auth-session-gen \
--generate-docbook sso-auth-session-gen-doc \
- --annotate "com.google.code.AccountsSSO.SingleSignOn.AuthSession" org.gtk.GDBus.C.Name SsoAuthSession \
+ --annotate "com.google.code.AccountsSSO.gSingleSignOn.AuthSession" org.gtk.GDBus.C.Name SsoAuthSession \
$<
-sso-identity-gen.h sso-identity-gen.c: $(DBUS_INTERFACES_DIR)/com.google.code.AccountsSSO.SingleSignOn.Identity.xml
+sso-identity-gen.h sso-identity-gen.c: $(DBUS_INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.Identity.xml
$(AM_V_GEN)gdbus-codegen \
--generate-c-code sso-identity-gen \
--generate-docbook sso-identity-gen-doc \
- --annotate "com.google.code.AccountsSSO.SingleSignOn.Identity" org.gtk.GDBus.C.Name SsoIdentity \
+ --annotate "com.google.code.AccountsSSO.gSingleSignOn.Identity" org.gtk.GDBus.C.Name SsoIdentity \
$<
signon-marshal.h: signon-marshal.list Makefile
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
- <interface name="com.google.code.AccountsSSO.SingleSignOn.AuthService">
+ <interface name="com.google.code.AccountsSSO.gSingleSignOn.AuthService">
<method name="registerNewIdentity">
<arg name="applicationContext" type="s" direction="in"/>
<arg name="objectPath" type="o" direction="out"/>
<method name="queryIdentities">
<arg name="identities" type="aa{sv}" direction="out"/>
<arg name="filter" type="a{sv}" direction="in"/>
- <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
</method>
<method name="clear">
<arg type="b" direction="out"/>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
- <interface name="com.google.code.AccountsSSO.SingleSignOn.AuthSession">
+ <interface name="com.google.code.AccountsSSO.gSingleSignOn.AuthSession">
<signal name="stateChanged">
<arg name="state" type="i" direction="out"/>
<arg name="message" type="s" direction="out"/>
</method>
<method name="process">
<arg type="a{sv}" direction="out"/>
- <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="sessionDataVa" type="a{sv}" direction="in"/>
- <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<arg name="mechanism" type="s" direction="in"/>
</method>
<method name="cancel">
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
- <interface name="com.google.code.AccountsSSO.SingleSignOn.Identity">
+ <interface name="com.google.code.AccountsSSO.gSingleSignOn.Identity">
<signal name="unregistered">
</signal>
<signal name="infoUpdated">
<method name="verifyUser">
<arg type="b" direction="out"/>
<arg name="params" type="a{sv}" direction="in"/>
- <annotation name="com.trolltech.QtDBus.QtTypeName.In4" value="QVariantMap"/>
</method>
<method name="verifySecret">
<arg type="b" direction="out"/>
<method name="store">
<arg type="u" direction="out"/>
<arg type="a{sv}" direction="in"/>
- <annotation name="com.trolltech.QtDBus.QtTypeName.In4" value="QVariantMap"/>
</method>
<method name="addReference">
<arg type="i" direction="out"/>
info->methods = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, (GDestroyNotify)g_strfreev);
info->store_secret = FALSE;
- info->owner = signon_security_context_new ();
return info;
}
{
signon_identity_info_set_owner (info, owner);
}
- else
- {
- signon_identity_info_set_owner_from_values (info, "", "");
- DEBUG ("created empty owner context");
- }
if (access_control_list)
{
signon_identity_info_set_access_control_list (info,
access_control_list);
}
- else
- {
- signon_identity_info_access_control_list_append (info,
- signon_security_context_new_from_values ("*", "*"));
- DEBUG ("created wildcard access control list");
- }
signon_identity_info_set_identity_type (info, type);
signon_identity_store_credentials_with_info (self, info, cb, user_data);
/*
* Common DBUS definitions
* */
-#define SIGNOND_SERVICE_PREFIX "com.google.code.AccountsSSO.SingleSignOn"
+#define SIGNOND_SERVICE_PREFIX "com.google.code.AccountsSSO.gSingleSignOn"
#define SIGNOND_SERVICE SIGNOND_SERVICE_PREFIX
-#define SIGNOND_DAEMON_OBJECTPATH "/com/google/code/AccountsSSO/SingleSignOn"
+#define SIGNOND_DAEMON_OBJECTPATH "/com/google/code/AccountsSSO/gSingleSignOn"
#define SIGNOND_DAEMON_INTERFACE SIGNOND_SERVICE_PREFIX ".AuthService"
#define SIGNOND_IDENTITY_INTERFACE SIGNOND_SERVICE_PREFIX ".Identity"
#define SIGNOND_AUTH_SESSION_INTERFACE SIGNOND_SERVICE_PREFIX ".AuthSession"