+2014-07-02 Imran Zaman <imran.zaman@intel.com>
+
+untar is made to upstream branch and tizen specific changes stay in tizen branch in Tizen repos, prepare-tizen is updated appropriately
+
+2014-07-01 Imran Zaman <imran.zaman@intel.com>
+
+Release 2.3.0
+
+2014-06-27 Imran Zaman <imran.zaman@intel.com>
+
+added implementation for reference APIs along with unit tests
+
2014-06-24 Jussi Laako <jussi.laako@linux.intel.com>
Update version to 2.2.0
fi[]dnl
])# PKG_CHECK_MODULES
-
-# PKG_INSTALLDIR(DIRECTORY)
-# -------------------------
-# Substitutes the variable pkgconfigdir as the location where a module
-# should install pkg-config .pc files. By default the directory is
-# $libdir/pkgconfig, but the default can be changed by passing
-# DIRECTORY. The user can override through the --with-pkgconfigdir
-# parameter.
-AC_DEFUN([PKG_INSTALLDIR],
-[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
-m4_pushdef([pkg_description],
- [pkg-config installation directory @<:@]pkg_default[@:>@])
-AC_ARG_WITH([pkgconfigdir],
- [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
- [with_pkgconfigdir=]pkg_default)
-AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
-m4_popdef([pkg_default])
-m4_popdef([pkg_description])
-]) dnl PKG_INSTALLDIR
-
-
-# PKG_NOARCH_INSTALLDIR(DIRECTORY)
-# -------------------------
-# Substitutes the variable noarch_pkgconfigdir as the location where a
-# module should install arch-independent pkg-config .pc files. By
-# default the directory is $datadir/pkgconfig, but the default can be
-# changed by passing DIRECTORY. The user can override through the
-# --with-noarch-pkgconfigdir parameter.
-AC_DEFUN([PKG_NOARCH_INSTALLDIR],
-[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
-m4_pushdef([pkg_description],
- [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
-AC_ARG_WITH([noarch-pkgconfigdir],
- [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
- [with_noarch_pkgconfigdir=]pkg_default)
-AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
-m4_popdef([pkg_default])
-m4_popdef([pkg_description])
-]) dnl PKG_NOARCH_INSTALLDIR
-
-
-# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
-# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-# -------------------------------------------
-# Retrieves the value of the pkg-config variable for the given module.
-AC_DEFUN([PKG_CHECK_VAR],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
-
-_PKG_CONFIG([$1], [variable="][$3]["], [$2])
-AS_VAR_COPY([$1], [pkg_cv_][$1])
-
-AS_VAR_IF([$1], [""], [$5], [$4])dnl
-])# PKG_CHECK_VAR
-
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
END
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
fi
-fi
-])
+fi])
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright 1992-2014 Free Software Foundation, Inc.
+# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2014-03-23'
+timestamp='2013-06-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright 1992-2014 Free Software Foundation, Inc.
+Copyright 1992-2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
LIBC=gnu
#endif
EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
;;
esac
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
- *:MSYS*:*)
+ i*:MSYS*:*)
echo ${UNAME_MACHINE}-pc-msys
exit ;;
i*:windows32*:*)
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
;;
- openrisc*:Linux:*:*)
- echo or1k-unknown-linux-${LIBC}
+ or1k:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
- or32:Linux:*:* | or1k*:Linux:*:*)
+ or32:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
padre:Linux:*:*)
if test "$UNAME_PROCESSOR" = unknown ; then
UNAME_PROCESSOR=powerpc
fi
- if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- grep IS_64BIT_ARCH >/dev/null
- then
- case $UNAME_PROCESSOR in
- i386) UNAME_PROCESSOR=x86_64 ;;
- powerpc) UNAME_PROCESSOR=powerpc64 ;;
- esac
- fi
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
fi
- elif test "$UNAME_PROCESSOR" = i386 ; then
- # Avoid executing cc on OS X 10.9, as it ships with a stub
- # that puts up a graphical alert prompting to install
- # developer tools. Any system running Mac OS X 10.7 or
- # later (Darwin 11 and later) is required to have a 64-bit
- # processor. This is not true of the ARM version of Darwin
- # that Apple uses in portable devices.
- UNAME_PROCESSOR=x86_64
fi
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit ;;
exit ;;
esac
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
+ I don't know.... */
+ printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+ printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+ "4"
+#else
+ ""
+#endif
+ ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+ printf ("arm-acorn-riscix\n"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+ printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+ int version;
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+ if (version < 4)
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+ else
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+ exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+ printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+ printf ("ns32k-encore-mach\n"); exit (0);
+#else
+ printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+ printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+ printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+ printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+ struct utsname un;
+
+ uname(&un);
+
+ if (strncmp(un.version, "V2", 2) == 0) {
+ printf ("i386-sequent-ptx2\n"); exit (0);
+ }
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+ printf ("i386-sequent-ptx1\n"); exit (0);
+ }
+ printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+# include <sys/param.h>
+# if defined (BSD)
+# if BSD == 43
+ printf ("vax-dec-bsd4.3\n"); exit (0);
+# else
+# if BSD == 199006
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# endif
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# else
+ printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+ printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+ exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+ case `getsysinfo -f cpu_type` in
+ c1*)
+ echo c1-convex-bsd
+ exit ;;
+ c2*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ c34*)
+ echo c34-convex-bsd
+ exit ;;
+ c38*)
+ echo c38-convex-bsd
+ exit ;;
+ c4*)
+ echo c4-convex-bsd
+ exit ;;
+ esac
+fi
+
cat >&2 <<EOF
$0: unable to guess system type
#! /bin/sh
# Configuration validation subroutine script.
-# Copyright 1992-2014 Free Software Foundation, Inc.
+# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2014-05-01'
+timestamp='2013-08-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
version="\
GNU config.sub ($timestamp)
-Copyright 1992-2014 Free Software Foundation, Inc.
+Copyright 1992-2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
| hexagon \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
- | k1om \
| le32 | le64 \
| lm32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
| mips64vr5900 | mips64vr5900el \
| mipsisa32 | mipsisa32el \
| mipsisa32r2 | mipsisa32r2el \
- | mipsisa32r6 | mipsisa32r6el \
| mipsisa64 | mipsisa64el \
| mipsisa64r2 | mipsisa64r2el \
- | mipsisa64r6 | mipsisa64r6el \
| mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \
| mipsr5900 | mipsr5900el \
| nds32 | nds32le | nds32be \
| nios | nios2 | nios2eb | nios2el \
| ns16k | ns32k \
- | open8 | or1k | or1knd | or32 \
+ | open8 \
+ | or1k | or32 \
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pyramid \
c6x)
basic_machine=tic6x-unknown
;;
- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
basic_machine=$basic_machine-unknown
os=-none
;;
| hexagon-* \
| i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* | iq2000-* \
- | k1om-* \
| le32-* | le64-* \
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| mips64vr5900-* | mips64vr5900el-* \
| mipsisa32-* | mipsisa32el-* \
| mipsisa32r2-* | mipsisa32r2el-* \
- | mipsisa32r6-* | mipsisa32r6el-* \
| mipsisa64-* | mipsisa64el-* \
| mipsisa64r2-* | mipsisa64r2el-* \
- | mipsisa64r6-* | mipsisa64r6el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
| mipsr5900-* | mipsr5900el-* \
| nios-* | nios2-* | nios2eb-* | nios2el-* \
| none-* | np1-* | ns16k-* | ns32k-* \
| open8-* \
- | or1k*-* \
| orion-* \
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
mips*-*)
os=-elf
;;
+ or1k-*)
+ os=-elf
+ ;;
or32-*)
os=-coff
;;
# compiler: $LTCC
# compiler flags: $LTCFLAGS
# linker: $LD (gnu? $with_gnu_ld)
-# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.7
+# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
# automake: $automake_version
# autoconf: $autoconf_version
#
PROGRAM=libtool
PACKAGE=libtool
-VERSION="2.4.2 Debian-2.4.2-1.7"
+VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1"
TIMESTAMP=""
package_revision=1.3337
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libgsignon-glib 2.2.0.
+# Generated by GNU Autoconf 2.69 for libgsignon-glib 2.3.0.
#
# Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
#
# Identity of this package.
PACKAGE_NAME='libgsignon-glib'
PACKAGE_TARNAME='libgsignon-glib'
-PACKAGE_VERSION='2.2.0'
-PACKAGE_STRING='libgsignon-glib 2.2.0'
+PACKAGE_VERSION='2.3.0'
+PACKAGE_STRING='libgsignon-glib 2.3.0'
PACKAGE_BUGREPORT='http://code.google.com/p/accounts-sso/issues/entry'
PACKAGE_URL='http://code.google.com/p/accounts-sso/'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libgsignon-glib 2.2.0 to adapt to many kinds of systems.
+\`configure' configures libgsignon-glib 2.3.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libgsignon-glib 2.2.0:";;
+ short | recursive ) echo "Configuration of libgsignon-glib 2.3.0:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libgsignon-glib configure 2.2.0
+libgsignon-glib configure 2.3.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libgsignon-glib $as_me 2.2.0, which was
+It was created by libgsignon-glib $as_me 2.3.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='libgsignon-glib'
- VERSION='2.2.0'
+ VERSION='2.3.0'
cat >>confdefs.h <<_ACEOF
fi
fi
-
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libgsignon-glib $as_me 2.2.0, which was
+This file was extended by libgsignon-glib $as_me 2.3.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libgsignon-glib config.status 2.2.0
+libgsignon-glib config.status 2.3.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.64])
AC_INIT([libgsignon-glib],
- [2.2.0],
+ [2.3.0],
[http://code.google.com/p/accounts-sso/issues/entry],
[libgsignon-glib],
[http://code.google.com/p/accounts-sso/])
+libgsignon-glib (2.3.0-1) unstable; urgency=low
+
+ * Release 2.3.0 with implementation of reference APIs
+
+ -- Imran Zaman <imran.zaman@intel.com> Tue, 01 Jul 2014 16:46:00 +0300
+
libgsignon-glib (2.1.0-5) unstable; urgency=low
* Include gsso-example in dev package
Name: libgsignon-glib
Summary: GLib API for the SSO framework
-Version: 2.1.0
-Release: 2
+Version: 2.3.0
+Release: 1
Group: System/Libraries
License: LGPL-2.1
Source: %{name}-%{version}.tar.gz
%changelog
+* Tue Jul 01 2014 Imran Zaman <imran.zaman@intel.com>
+- Release 2.3.0 added reference API implementation
+
* Thu Mar 06 2014 Jussi Laako <jussi.laako@linux.intel.com>
- Release 2.1.0 including API alignment with libsignon-glib
+* Tue Jul 01 2014 Imran Zaman <imran.zaman@intel.com>
+- Release 2.3.0 added reference API implementation
+
* Thu Mar 06 2014 Jussi Laako <jussi.laako@linux.intel.com>
- Release 2.1.0 including API alignment with libsignon-glib
Name: libgsignon-glib
Summary: GLib API for the SSO framework
-Version: 2.1.0
-Release: 2
+Version: 2.3.0
+Release: 1
Group: Security/Accounts
License: LGPL-2.1
Source: %{name}-%{version}.tar.gz
</div>
<div class="refsect1">
<a name="SignonAuthService.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="screen"> GObject
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
<span class="lineart">╰──</span> SignonAuthService
</pre>
</div>
<a name="SignonQueryMethodsCb"></a><h3>SignonQueryMethodsCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonQueryMethodsCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
- <em class="parameter"><code><span class="type">gchar</span> **methods</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **methods</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonAuthService.html#signon-auth-service-query-methods" title="signon_auth_service_query_methods ()"><code class="function">signon_auth_service_query_methods()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.2.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<a name="SignonQueryMechanismCb"></a><h3>SignonQueryMechanismCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonQueryMechanismCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method</code></em>,
- <em class="parameter"><code><span class="type">gchar</span> **mechanisms</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **mechanisms</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonAuthService.html#signon-auth-service-query-mechanisms" title="signon_auth_service_query_mechanisms ()"><code class="function">signon_auth_service_query_mechanisms()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.3.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<a name="SignonClearCb"></a><h3>SignonClearCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonClearCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
- <em class="parameter"><code><span class="type">gboolean</span> success</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonAuthService.html#signon-auth-service-clear" title="signon_auth_service_clear ()"><code class="function">signon_auth_service_clear()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.4.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonQueryIdentitiesCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthService.html#SignonIdentityList" title="SignonIdentityList"><span class="type">SignonIdentityList</span></a> *identities</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonAuthService.html#signon-auth-service-query-identities" title="signon_auth_service_query_identities ()"><code class="function">signon_auth_service_query_identities()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.5.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>identities</p></td>
-<td class="parameter_description"><p> <span class="type">GList</span> based list of <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>. </p></td>
+<td class="parameter_description"><p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> based list of <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_service_query_methods (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthService.html#SignonQueryMethodsCb" title="SignonQueryMethodsCb ()"><span class="type">SignonQueryMethodsCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Lists all the available authentication methods.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.7.5"></a><h4>Parameters</h4>
<a name="signon-auth-service-query-mechanisms"></a><h3>signon_auth_service_query_mechanisms ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_service_query_mechanisms (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthService.html#SignonQueryMechanismCb" title="SignonQueryMechanismCb ()"><span class="type">SignonQueryMechanismCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Lists all the available mechanisms for an authentication method.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.8.5"></a><h4>Parameters</h4>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_service_query_identities (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthService.html#SignonIdentityFilter" title="SignonIdentityFilter"><span class="type">SignonIdentityFilter</span></a> *filter</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *application_context</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_context</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthService.html#SignonQueryIdentitiesCb" title="SignonQueryIdentitiesCb ()"><span class="type">SignonQueryIdentitiesCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Query available identities, possibly applying a filter. </p>
<p><em class="parameter"><code>filter</code></em>
- is a <span class="type">GHashTable</span> that contains filter conditions in the form of
-string keys and <span class="type">GVariant</span> values. Currently the following keys are supported:</p>
+ is a <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> that contains filter conditions in the form of
+string keys and <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> values. Currently the following keys are supported:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>"Owner". The value should be a <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> (use
-<a class="link" href="SignonSecurityContext.html#signon-security-context-build-variant" title="signon_security_context_build_variant ()"><code class="function">signon_security_context_build_variant()</code></a> to create a <span class="type">GVariant</span>).
+<a class="link" href="SignonSecurityContext.html#signon-security-context-build-variant" title="signon_security_context_build_variant ()"><code class="function">signon_security_context_build_variant()</code></a> to create a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>).
Identites whose owner doesn't match will be filtered out. This key has
effect only if the requesting application is a keychain application as determined
-by <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondAccessControlManager.html"><span class="type">GSignondAccessControlManager</span></a>.</p></li>
+by <span class="type">GSignondAccessControlManager</span>.</p></li>
<li class="listitem"><p>"Type". The value should be a <a class="link" href="SignonIdentityInfo.html#SignonIdentityType" title="enum SignonIdentityType"><span class="type">SignonIdentityType</span></a>.</p></li>
<li class="listitem"><p>"Caption". The value is a string, and only those identites whose caption
begins with the supplied value will be returned.</p></li>
</ul></div>
<p>The meaning of <em class="parameter"><code>application_context</code></em>
is explained in <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a>.
-It is used by <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondAccessControlManager.html"><span class="type">GSignondAccessControlManager</span></a> to determine if the requesting
+It is used by <span class="type">GSignondAccessControlManager</span> to determine if the requesting
application is a keychain application. If it is, then all identites will be
returned (subject to "Owner" key in <em class="parameter"><code>filter</code></em>
). If it's not, then only the
</tr>
<tr>
<td class="parameter_name"><p>filter</p></td>
-<td class="parameter_description"><p>filter variant dictionary based on <span class="type">GHashTable</span>.</p></td>
+<td class="parameter_description"><p>filter variant dictionary based on <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>application_context</p></td>
-<td class="parameter_description"><p>application security context, can be <code class="literal">NULL</code>.</p></td>
+<td class="parameter_description"><p>application security context, can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_service_clear (<em class="parameter"><code><a class="link" href="SignonAuthService.html" title="SignonAuthService"><span class="type">SignonAuthService</span></a> *auth_service</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthService.html#SignonClearCb" title="SignonClearCb ()"><span class="type">SignonClearCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Clears / wipes out all stored data.</p>
<div class="refsect3">
<a name="id-1.3.3.2.7.10.5"></a><h4>Parameters</h4>
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
-<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="SignonAuthServiceClass.parent-class"></a>parent_class</code></em>;</p></td>
+<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="SignonAuthServiceClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>a reference to the parent class</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
<a name="SignonIdentityFilter"></a><h3>SignonIdentityFilter</h3>
<pre class="programlisting">typedef GHashTable SignonIdentityFilter;
</pre>
-<p><span class="type">GHashTable</span> based filter variant dictionary.</p>
+<p><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> based filter variant dictionary.</p>
</div>
</div>
</div>
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">gchar</span> *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonAuthSession.html#signon-auth-session-get-method" title="signon_auth_session_get_method ()">signon_auth_session_get_method</a> <span class="c_punctuation">()</span>
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">GVariant</span> *
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonAuthSession.html#signon-auth-session-process-finish" title="signon_auth_session_process_finish ()">signon_auth_session_process_finish</a> <span class="c_punctuation">()</span>
</div>
<div class="refsect1">
<a name="SignonAuthSession.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="screen"> GObject
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
<span class="lineart">╰──</span> SignonAuthSession
</pre>
</div>
<div class="refsect2">
<a name="signon-auth-session-new"></a><h3>signon_auth_session_new ()</h3>
<pre class="programlisting"><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="returnvalue">SignonAuthSession</span></a> *
-signon_auth_session_new (<em class="parameter"><code><span class="type">gint</span> id</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method_name</code></em>,
- <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
+signon_auth_session_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Creates a new <a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a>, which can be used to authenticate using
the specified method.</p>
<div class="refsect3">
<a name="signon-auth-session-new-for-identity"></a><h3>signon_auth_session_new_for_identity ()</h3>
<pre class="programlisting"><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="returnvalue">SignonAuthSession</span></a> *
signon_auth_session_new_for_identity (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *identity</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method_name</code></em>,
- <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Creates a new <a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a>, which can be used to authenticate using
the specified method.</p>
<div class="refsect3">
<hr>
<div class="refsect2">
<a name="signon-auth-session-get-method"></a><h3>signon_auth_session_get_method ()</h3>
-<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
signon_auth_session_get_method (<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>);</pre>
<p>Get the current authentication method.</p>
<div class="refsect3">
</div>
<div class="refsect3">
<a name="id-1.3.3.6.9.4.6"></a><h4>Returns</h4>
-<p> the authentication method being used, or <code class="literal">NULL</code> on failure.</p>
+<p> the authentication method being used, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure.</p>
<p></p>
</div>
</div>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonAuthSessionQueryAvailableMechanismsCb<span class="c_punctuation">)</span>
(<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">gchar</span> **mechanisms</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **mechanisms</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonAuthSession.html#signon-auth-session-query-available-mechanisms" title="signon_auth_session_query_available_mechanisms ()"><code class="function">signon_auth_session_query_available_mechanisms()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.6.9.5.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_session_query_available_mechanisms
(<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> **wanted_mechanisms</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **wanted_mechanisms</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthSession.html#SignonAuthSessionQueryAvailableMechanismsCb" title="SignonAuthSessionQueryAvailableMechanismsCb ()"><span class="type">SignonAuthSessionQueryAvailableMechanismsCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="warning"><p><code class="literal">signon_auth_session_query_available_mechanisms</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Queries the mechanisms available for this authentication session. The result
will be the intersection between <em class="parameter"><code>wanted_mechanisms</code></em>
</tr>
<tr>
<td class="parameter_name"><p>wanted_mechanisms</p></td>
-<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated list of mechanisms supported by the client.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of mechanisms supported by the client.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<a name="SignonAuthSessionProcessCb"></a><h3>SignonAuthSessionProcessCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonAuthSessionProcessCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">GHashTable</span> *session_data</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *session_data</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="warning"><p><code class="literal">SignonAuthSessionProcessCb</code> is deprecated and should not be used in newly-written code.</p></div>
<p>This callback is invoked when the authentication plugin delivers the result
of the <a class="link" href="SignonAuthSession.html#signon-auth-session-process" title="signon_auth_session_process ()"><code class="function">signon_auth_session_process()</code></a> operation.</p>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<a name="signon-auth-session-process"></a><h3>signon_auth_session_process ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_session_process (<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">GHashTable</span> *session_data</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *mechanism</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *session_data</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mechanism</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthSession.html#SignonAuthSessionProcessCb" title="SignonAuthSessionProcessCb ()"><span class="type">SignonAuthSessionProcessCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="warning">
<p><code class="literal">signon_auth_session_process</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="SignonAuthSession.html#signon-auth-session-process-async" title="signon_auth_session_process_async ()"><code class="function">signon_auth_session_process_async()</code></a> instead.</p>
<a name="signon-auth-session-process-async"></a><h3>signon_auth_session_process_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_auth_session_process_async (<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">GVariant</span> *session_data</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *mechanism</code></em>,
- <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
- <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *session_data</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mechanism</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Performs one step of the authentication process.
<em class="parameter"><code>session_data</code></em>
should be used to add additional authentication parameters to the
session.</p>
<p>What specific parameters should be used can be found from authentication plugins'
-documentation (look for parameters that are expected in <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPlugin.html#gsignond-plugin-request-initial"><code class="function">gsignond_plugin_request_initial()</code></a>
-for the first step, and parameters that are expected in <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPlugin.html#gsignond-plugin-request"><code class="function">gsignond_plugin_request()</code></a> for
-the subsequent steps). See, for example, <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPasswordPlugin.html"><span class="type">GSignondPasswordPlugin</span></a> and <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondDigestPlugin.html"><span class="type">GSignondDigestPlugin</span></a>.</p>
+documentation (look for parameters that are expected in <code class="function">gsignond_plugin_request_initial()</code>
+for the first step, and parameters that are expected in <code class="function">gsignond_plugin_request()</code> for
+the subsequent steps). See, for example, <span class="type">GSignondPasswordPlugin</span> and <span class="type">GSignondDigestPlugin</span>.</p>
<p>If the <a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> that this session belongs to contains a username and a password,
the daemon will pass them to the authentication plugin, otherwise they should be set directly in
<em class="parameter"><code>session_data</code></em>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
-<td class="parameter_description"><p> optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
+<td class="parameter_description"><p> optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<hr>
<div class="refsect2">
<a name="signon-auth-session-process-finish"></a><h3>signon_auth_session_process_finish ()</h3>
-<pre class="programlisting"><span class="returnvalue">GVariant</span> *
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
signon_auth_session_process_finish (<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Collect the result of the <a class="link" href="SignonAuthSession.html#signon-auth-session-process-async" title="signon_auth_session_process_async ()"><code class="function">signon_auth_session_process_async()</code></a> operation.</p>
<div class="refsect3">
<a name="id-1.3.3.6.9.10.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>res</p></td>
-<td class="parameter_description"><p>A <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to
+<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to
<a class="link" href="SignonAuthSession.html#signon-auth-session-process-async" title="signon_auth_session_process_async ()"><code class="function">signon_auth_session_process_async()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>.</p></td>
+<td class="parameter_description"><p>return location for error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</div>
<div class="refsect3">
<a name="id-1.3.3.6.9.10.6"></a><h4>Returns</h4>
-<p> a <span class="type">GVariant</span> of type <code class="literal">G_VARIANT_TYPE_VARDICT</code> containing the
+<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> of type <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#G-VARIANT-TYPE-VARDICT:CAPS"><code class="literal">G_VARIANT_TYPE_VARDICT</code></a> containing the
authentication reply. As with <a class="link" href="SignonAuthSession.html#signon-auth-session-process-async" title="signon_auth_session_process_async ()"><code class="function">signon_auth_session_process_async()</code></a>, specific
-parameters contained in the <span class="type">GVariant</span> can be found from plugins' documentation:
-<a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPlugin.html#GSignondPlugin-response-final"><span class="type">“response-final”</span></a> for the final response, and <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPlugin.html#GSignondPlugin-response"><span class="type">“response”</span></a>
-for the intermediate responses. See, for example, <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPasswordPlugin.html"><span class="type">GSignondPasswordPlugin</span></a>
-and <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondDigestPlugin.html"><span class="type">GSignondDigestPlugin</span></a>.</p>
+parameters contained in the <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> can be found from plugins' documentation:
+<span class="type">“response-final”</span> for the final response, and <span class="type">“response”</span>
+for the intermediate responses. See, for example, <span class="type">GSignondPasswordPlugin</span>
+and <span class="type">GSignondDigestPlugin</span>.</p>
<p></p>
</div>
<p class="since">Since 1.8</p>
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
-<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="SignonAuthSessionClass.parent"></a>parent</code></em>;</p></td>
+<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="SignonAuthSessionClass.parent"></a>parent</code></em>;</p></td>
<td class="struct_member_description"><p>reference to the parent class</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
<a name="SignonAuthSession-state-changed"></a><h3>The <code class="literal">“state-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *auth_session,
- <span class="type">gint</span> state,
- <span class="type">gchar</span> *message,
- <span class="type">gpointer</span> user_data)</pre>
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> state,
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Emitted when the state of the <a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> changes. The state change
-is initiated by <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPlugin.html"><span class="type">GSignondPlugin</span></a> via <a href="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond/GSignondPlugin.html#GSignondPlugin-status-changed"><span class="type">“status-changed”</span></a> signal.</p>
+is initiated by <span class="type">GSignondPlugin</span> via <span class="type">“status-changed”</span> signal.</p>
<div class="refsect3">
<a name="id-1.3.3.6.12.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">GError</span> *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonIdentity.html#signon-identity-get-last-error" title="signon_identity_get_last_error ()">signon_identity_get_last_error</a> <span class="c_punctuation">()</span>
<tbody>
<tr>
<td class="property_type">
-<span class="type">gchar</span> *</td>
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="SignonIdentity.html#SignonIdentity--app-ctx" title="The “app-ctx” property">app-ctx</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
-<td class="property_type"><span class="type">guint</span></td>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="SignonIdentity.html#SignonIdentity--id" title="The “id” property">id</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</div>
<div class="refsect1">
<a name="SignonIdentity.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="screen"> GObject
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
<span class="lineart">╰──</span> SignonIdentity
</pre>
</div>
and depending on how gSSO is configured it's also possible to provide a list
with a wildcard item to relax the access control restriction
(see <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a>).</p></li>
-<li class="listitem"><p>Methods is a <span class="type">GHashTable</span> containing method names as keys, and lists of
+<li class="listitem"><p>Methods is a <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> containing method names as keys, and lists of
allowed mechanisms as values (also, a special value "*" means that any
mechanism is allowed). Only those methods and mechanisms that are in the table
are allowed to be used in authentication sessions. Default is an empty list.</p></li>
<a name="SignonIdentityVoidCb"></a><h3>SignonIdentityVoidCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonIdentityVoidCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Generic callback to be passed to several <a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> methods.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.2.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, or <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<p>Construct an identity object associated with an existing identity
record.
This is essentially equivalent to calling
-<a class="link" href="SignonIdentity.html#signon-identity-new-with-context-from-db" title="signon_identity_new_with_context_from_db ()"><code class="function">signon_identity_new_with_context_from_db()</code></a> and passing <code class="literal">NULL</code> as the
+<a class="link" href="SignonIdentity.html#signon-identity-new-with-context-from-db" title="signon_identity_new_with_context_from_db ()"><code class="function">signon_identity_new_with_context_from_db()</code></a> and passing <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as the
application context.</p>
<p>Applications can determine the <em class="parameter"><code>id</code></em>
either by enumerating the identities with
signon_identity_new ();</pre>
<p>Construct a new, empty, identity object.
This is essentially equivalent to calling <a class="link" href="SignonIdentity.html#signon-identity-new-with-context" title="signon_identity_new_with_context ()"><code class="function">signon_identity_new_with_context()</code></a>
-and passing <code class="literal">NULL</code> as the application context.</p>
+and passing <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as the application context.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.4.5"></a><h4>Returns</h4>
<p> an instance of an <a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a>.</p>
<pre class="programlisting"><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="returnvalue">SignonIdentity</span></a> *
signon_identity_new_with_context_from_db
(<em class="parameter"><code><span class="type">guint32</span> id</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *application_context</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_context</code></em>);</pre>
<p>Construct an identity object associated with an existing identity
record. See <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> for a discussion of <em class="parameter"><code>application_context</code></em>
contents.
</tr>
<tr>
<td class="parameter_name"><p>application_context</p></td>
-<td class="parameter_description"><p>application security context, can be <code class="literal">NULL</code>.</p></td>
+<td class="parameter_description"><p>application security context, can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
<div class="refsect2">
<a name="signon-identity-new-with-context"></a><h3>signon_identity_new_with_context ()</h3>
<pre class="programlisting"><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="returnvalue">SignonIdentity</span></a> *
-signon_identity_new_with_context (<em class="parameter"><code>const <span class="type">gchar</span> *application_context</code></em>);</pre>
+signon_identity_new_with_context (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_context</code></em>);</pre>
<p>Construct a new, empty, identity object. See <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> for a
discussion of <em class="parameter"><code>application_context</code></em>
contents. <em class="parameter"><code>application_context</code></em>
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>application_context</p></td>
-<td class="parameter_description"><p>application security context, can be <code class="literal">NULL</code>.</p></td>
+<td class="parameter_description"><p>application security context, can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
<hr>
<div class="refsect2">
<a name="signon-identity-get-last-error"></a><h3>signon_identity_get_last_error ()</h3>
-<pre class="programlisting">const <span class="returnvalue">GError</span> *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
signon_identity_get_last_error (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *identity</code></em>);</pre>
<p>Get the most recent error that occurred on <em class="parameter"><code>identity</code></em>
.</p>
</div>
<div class="refsect3">
<a name="id-1.3.3.3.9.7.6"></a><h4>Returns</h4>
-<p> a <span class="type">GError</span> containing the most recent error, or <code class="literal">NULL</code> on failure.</p>
+<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> containing the most recent error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure.</p>
<p></p>
</div>
</div>
<a name="signon-identity-create-session"></a><h3>signon_identity_create_session ()</h3>
<pre class="programlisting"><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="returnvalue">SignonAuthSession</span></a> *
signon_identity_create_session (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method</code></em>,
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates an authentication session for this identity. If the identity has been
retrieved from the database, the authentication method must be one of those
listed in <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-methods" title="signon_identity_info_get_methods ()"><code class="function">signon_identity_info_get_methods()</code></a>, otherwise it can be any method
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonIdentityStoreCredentialsCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">guint32</span> id</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonIdentity.html#signon-identity-store-credentials-with-args" title="signon_identity_store_credentials_with_args ()"><code class="function">signon_identity_store_credentials_with_args()</code></a> or
<a class="link" href="SignonIdentity.html#signon-identity-store-credentials-with-info" title="signon_identity_store_credentials_with_info ()"><code class="function">signon_identity_store_credentials_with_info()</code></a>.</p>
<div class="refsect3">
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, or <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
(<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityStoreCredentialsCb" title="SignonIdentityStoreCredentialsCb ()"><span class="type">SignonIdentityStoreCredentialsCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Stores the data contained in <em class="parameter"><code>info</code></em>
into the identity record in the database.
See above for the detailed discussion of the meaning of various fields and
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_store_credentials_with_args
(<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *secret</code></em>,
- <em class="parameter"><code>const <span class="type">gboolean</span> store_secret</code></em>,
- <em class="parameter"><code><span class="type">GHashTable</span> *methods</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *caption</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> * const *realms</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *secret</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> store_secret</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *methods</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *caption</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *realms</code></em>,
<em class="parameter"><code>const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *owner</code></em>,
<em class="parameter"><code><a class="link" href="SignonSecurityContext.html#SignonSecurityContextList" title="SignonSecurityContextList"><span class="type">SignonSecurityContextList</span></a> *access_control_list</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html#SignonIdentityType" title="enum SignonIdentityType"><span class="type">SignonIdentityType</span></a> type</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityStoreCredentialsCb" title="SignonIdentityStoreCredentialsCb ()"><span class="type">SignonIdentityStoreCredentialsCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Stores the given data into the identity. See above for the meaning
of the specific fields.</p>
<div class="refsect3">
<a name="SignonIdentityVerifyCb"></a><h3>SignonIdentityVerifyCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonIdentityVerifyCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">gboolean</span> valid</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> valid</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonIdentity.html#signon-identity-verify-user" title="signon_identity_verify_user ()"><code class="function">signon_identity_verify_user()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.12.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, or <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<a name="signon-identity-verify-user"></a><h3>signon_identity_verify_user ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_verify_user (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">GVariant</span> *args</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *args</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityVerifyCb" title="SignonIdentityVerifyCb ()"><span class="type">SignonIdentityVerifyCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asks user to enter his credentials to verify the current user.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.13.5"></a><h4>Parameters</h4>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonIdentityInfoCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonIdentity.html#signon-identity-query-info" title="signon_identity_query_info ()"><code class="function">signon_identity_query_info()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.14.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, or <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_query_info (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityInfoCb" title="SignonIdentityInfoCb ()"><span class="type">SignonIdentityInfoCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Fetches the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> data associated with this
identity.</p>
<div class="refsect3">
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_remove (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityRemovedCb" title="SignonIdentityRemovedCb"><span class="type">SignonIdentityRemovedCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Removes the corresponding credentials record from the database.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.16.5"></a><h4>Parameters</h4>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_request_credentials_update
(<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityCredentialsUpdatedCb" title="SignonIdentityCredentialsUpdatedCb"><span class="type">SignonIdentityCredentialsUpdatedCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Requests user to re-enter his credentials.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.17.5"></a><h4>Parameters</h4>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_signout (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentitySignedOutCb" title="SignonIdentitySignedOutCb"><span class="type">SignonIdentitySignedOutCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asks signond to close all authentication sessions for this
identity, and to remove any stored secrets associated with it (password and
authentication tokens).</p>
<a name="signon-identity-add-reference"></a><h3>signon_identity_add_reference ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_add_reference (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *reference</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reference</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityReferenceAddedCb" title="SignonIdentityReferenceAddedCb"><span class="type">SignonIdentityReferenceAddedCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Adds named reference to identity. Not currently supported by gSSO.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.19.5"></a><h4>Parameters</h4>
<a name="signon-identity-remove-reference"></a><h3>signon_identity_remove_reference ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_remove_reference (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *reference</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reference</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentityReferenceRemovedCb" title="SignonIdentityReferenceRemovedCb"><span class="type">SignonIdentityReferenceRemovedCb</span></a> cb</code></em>,
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Removes named reference from identity. Not currently supported by gSSO.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.20.5"></a><h4>Parameters</h4>
<a name="SignonIdentitySessionReadyCb"></a><h3>SignonIdentitySessionReadyCb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*SignonIdentitySessionReadyCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">GError</span> *error</code></em>,
- <em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *bus_name</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bus_name</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
<p>Callback to be passed to <a class="link" href="SignonIdentity.html#signon-identity-get-auth-session" title="signon_identity_get_auth_session ()"><code class="function">signon_identity_get_auth_session()</code></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.3.9.21.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
-<td class="parameter_description"><p>a <span class="type">GError</span> if an error occurred, or <code class="literal">NULL</code> otherwise.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if an error occurred, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>connection</p></td>
-<td class="parameter_description"><p>a <span class="type">GDBusConnection</span> for the session.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> for the session.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_get_auth_session (<em class="parameter"><code><a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="SignonAuthSession.html" title="SignonAuthSession"><span class="type">SignonAuthSession</span></a> *session</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method</code></em>,
<em class="parameter"><code><a class="link" href="SignonIdentity.html#SignonIdentitySessionReadyCb" title="SignonIdentitySessionReadyCb ()"><span class="type">SignonIdentitySessionReadyCb</span></a> cb</code></em>);</pre>
<p>Obtain a remote object for a local session object. Should not be used by
applications.</p>
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
-<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="SignonIdentityClass.parent-class"></a>parent_class</code></em>;</p></td>
+<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="SignonIdentityClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>reference to a parent class</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
<a name="SignonIdentity.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="SignonIdentity--app-ctx"></a><h3>The <code class="literal">“app-ctx”</code> property</h3>
-<pre class="programlisting"> “app-ctx” <span class="type">gchar</span> *</pre>
+<pre class="programlisting"> “app-ctx” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Set/Get Application Security Context.</p>
<p>Flags: Read / Write</p>
<p>Default value: ""</p>
<hr>
<div class="refsect2">
<a name="SignonIdentity--id"></a><h3>The <code class="literal">“id”</code> property</h3>
-<pre class="programlisting"> “id” <span class="type">guint</span></pre>
+<pre class="programlisting"> “id” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>Set/Get Identity ID.</p>
<p>Flags: Read / Write</p>
<p>Default value: 0</p>
<a name="SignonIdentity-removed"></a><h3>The <code class="literal">“removed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *arg0,
- <span class="type">gpointer</span> user_data)</pre>
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Emitted when the identity was removed (deleted).</p>
<div class="refsect3">
<a name="id-1.3.3.3.12.2.5"></a><h4>Parameters</h4>
<a name="SignonIdentity-signout"></a><h3>The <code class="literal">“signout”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> *arg0,
- <span class="type">gpointer</span> user_data)</pre>
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Emitted when the identity was signed out.</p>
<div class="refsect3">
<a name="id-1.3.3.3.12.3.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">gint</span>
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-id" title="signon_identity_info_get_id ()">signon_identity_info_get_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">gchar</span> *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-username" title="signon_identity_info_get_username ()">signon_identity_info_get_username</a> <span class="c_punctuation">()</span>
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">gboolean</span>
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-storing-secret" title="signon_identity_info_get_storing_secret ()">signon_identity_info_get_storing_secret</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">gchar</span> *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-caption" title="signon_identity_info_get_caption ()">signon_identity_info_get_caption</a> <span class="c_punctuation">()</span>
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">GHashTable</span> *
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-methods" title="signon_identity_info_get_methods ()">signon_identity_info_get_methods</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">gchar</span> * const *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
</td>
<td class="function_name">
<a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-realms" title="signon_identity_info_get_realms ()">signon_identity_info_get_realms</a> <span class="c_punctuation">()</span>
</div>
<div class="refsect3">
<a name="id-1.3.3.4.7.4.6"></a><h4>Returns</h4>
-<p> a copy of the given <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>, or <code class="literal">NULL</code> on failure.</p>
+<p> a copy of the given <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="signon-identity-info-get-id"></a><h3>signon_identity_info_get_id ()</h3>
-<pre class="programlisting"><span class="returnvalue">gint</span>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
signon_identity_info_get_id (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
<p>Get the numeric identity ID of <em class="parameter"><code>info</code></em>
.</p>
<hr>
<div class="refsect2">
<a name="signon-identity-info-get-username"></a><h3>signon_identity_info_get_username ()</h3>
-<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
signon_identity_info_get_username (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
<p>Get the username associated with an identity.</p>
<div class="refsect3">
</div>
<div class="refsect3">
<a name="id-1.3.3.4.7.6.6"></a><h4>Returns</h4>
-<p> the username, or <code class="literal">NULL</code>.</p>
+<p> the username, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="signon-identity-info-get-storing-secret"></a><h3>signon_identity_info_get_storing_secret ()</h3>
-<pre class="programlisting"><span class="returnvalue">gboolean</span>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
signon_identity_info_get_storing_secret
(<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
<p>Get whether the secret of <em class="parameter"><code>info</code></em>
</div>
<div class="refsect3">
<a name="id-1.3.3.4.7.7.6"></a><h4>Returns</h4>
-<p> <code class="literal">TRUE</code> if gSSO must store the secret, <code class="literal">FALSE</code> otherwise.</p>
+<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if gSSO must store the secret, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="signon-identity-info-get-caption"></a><h3>signon_identity_info_get_caption ()</h3>
-<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
signon_identity_info_get_caption (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
<p>Get the display name of <em class="parameter"><code>info</code></em>
.</p>
<hr>
<div class="refsect2">
<a name="signon-identity-info-get-methods"></a><h3>signon_identity_info_get_methods ()</h3>
-<pre class="programlisting"><span class="returnvalue">GHashTable</span> *
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
signon_identity_info_get_methods (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
<p>Get a hash table of the methods and mechanisms of <em class="parameter"><code>info</code></em>
. See
<hr>
<div class="refsect2">
<a name="signon-identity-info-get-realms"></a><h3>signon_identity_info_get_realms ()</h3>
-<pre class="programlisting">const <span class="returnvalue">gchar</span> * const *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
signon_identity_info_get_realms (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
<p>Get an array of the allowed realms of <em class="parameter"><code>info</code></em>
.</p>
</div>
<div class="refsect3">
<a name="id-1.3.3.4.7.10.6"></a><h4>Returns</h4>
-<p> a <code class="literal">NULL</code> terminated array of realms. </p>
+<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array of realms. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<a name="signon-identity-info-set-username"></a><h3>signon_identity_info_set_username ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_username (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
<p>Sets the username for the identity.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.14.5"></a><h4>Parameters</h4>
<a name="signon-identity-info-set-secret"></a><h3>signon_identity_info_set_secret ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_secret (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *secret</code></em>,
- <em class="parameter"><code><span class="type">gboolean</span> store_secret</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *secret</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> store_secret</code></em>);</pre>
<p>Sets the secret (password) for the identity, and whether the gSSO daemon
should remember it.</p>
<div class="refsect3">
<a name="signon-identity-info-set-caption"></a><h3>signon_identity_info_set_caption ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_caption (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *caption</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *caption</code></em>);</pre>
<p>Sets the caption (display name) for the identity.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.16.5"></a><h4>Parameters</h4>
<a name="signon-identity-info-set-methods"></a><h3>signon_identity_info_set_methods ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_methods (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code><span class="type">GHashTable</span> *methods</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *methods</code></em>);</pre>
<p>Set authentication methods that are allowed to be used with this identity.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.17.5"></a><h4>Parameters</h4>
<a name="signon-identity-info-own-methods"></a><h3>signon_identity_info_own_methods ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_own_methods (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code><span class="type">GHashTable</span> *methods</code></em>);</pre>
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *methods</code></em>);</pre>
<p>Set authentication methods that are allowed to be used with this identity.</p>
<p>This function will just increment reference count of hash table, so
-it should be constructed with <span class="type">g_hash_table_new_full</span>.</p>
+it should be constructed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new-full"><span class="type">g_hash_table_new_full</span></a>.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.18.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<a name="signon-identity-info-set-method"></a><h3>signon_identity_info_set_method ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_method (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> * const *mechanisms</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *mechanisms</code></em>);</pre>
<p>Adds a method to the list of allowed authentication methods.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.19.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>mechanisms</p></td>
-<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated list of mechanisms.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of mechanisms.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
<a name="signon-identity-info-remove-method"></a><h3>signon_identity_info_remove_method ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_remove_method (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *method</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method</code></em>);</pre>
<p>Remove <em class="parameter"><code>method</code></em>
from the list of allowed authentication methods.</p>
<div class="refsect3">
<a name="signon-identity-info-set-realms"></a><h3>signon_identity_info_set_realms ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_realms (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> * const *realms</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *realms</code></em>);</pre>
<p>Specify what realms this identity can be used in.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.21.5"></a><h4>Parameters</h4>
</tr>
<tr>
<td class="parameter_name"><p>realms</p></td>
-<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated list of realms.</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of realms.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_identity_info_set_owner_from_values
(<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *system_context</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *application_context</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *system_context</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_context</code></em>);</pre>
<p>Set identity owner's security context.</p>
<div class="refsect3">
<a name="id-1.3.3.4.7.23.5"></a><h4>Parameters</h4>
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">gchar</span> *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonSecurityContext.html#signon-security-context-get-system-context" title="signon_security_context_get_system_context ()">signon_security_context_get_system_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td class="function_type">const <span class="returnvalue">gchar</span> *
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonSecurityContext.html#signon-security-context-get-application-context" title="signon_security_context_get_application_context ()">signon_security_context_get_application_context</a> <span class="c_punctuation">()</span>
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">GVariant</span> *
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonSecurityContext.html#signon-security-context-build-variant" title="signon_security_context_build_variant ()">signon_security_context_build_variant</a> <span class="c_punctuation">()</span>
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">GVariant</span> *
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
</td>
<td class="function_name">
<a class="link" href="SignonSecurityContext.html#signon-security-context-list-build-variant" title="signon_security_context_list_build_variant ()">signon_security_context_list_build_variant</a> <span class="c_punctuation">()</span>
<a name="signon-security-context-new-from-values"></a><h3>signon_security_context_new_from_values ()</h3>
<pre class="programlisting"><a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="returnvalue">SignonSecurityContext</span></a> *
signon_security_context_new_from_values
- (<em class="parameter"><code>const <span class="type">gchar</span> *system_context</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *application_context</code></em>);</pre>
+ (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *system_context</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_context</code></em>);</pre>
<p>Allocates and initializes a new security context item.</p>
<div class="refsect3">
<a name="id-1.3.3.5.7.3.5"></a><h4>Parameters</h4>
<pre class="programlisting"><span class="returnvalue">void</span>
signon_security_context_set_system_context
(<em class="parameter"><code><a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *ctx</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *system_context</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *system_context</code></em>);</pre>
<p>Sets the system context part (such as SMACK label or MSSF token) of the
<a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a>.</p>
<div class="refsect3">
<hr>
<div class="refsect2">
<a name="signon-security-context-get-system-context"></a><h3>signon_security_context_get_system_context ()</h3>
-<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
signon_security_context_get_system_context
(<em class="parameter"><code>const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *ctx</code></em>);</pre>
<p>Get the system context part (such as SMACK label or MSSF token) of the
<pre class="programlisting"><span class="returnvalue">void</span>
signon_security_context_set_application_context
(<em class="parameter"><code><a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *ctx</code></em>,
- <em class="parameter"><code>const <span class="type">gchar</span> *application_context</code></em>);</pre>
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_context</code></em>);</pre>
<p>Sets the application context part (such as a script name or a web page) of
the <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a>.</p>
<div class="refsect3">
<hr>
<div class="refsect2">
<a name="signon-security-context-get-application-context"></a><h3>signon_security_context_get_application_context ()</h3>
-<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
signon_security_context_get_application_context
(<em class="parameter"><code>const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *ctx</code></em>);</pre>
<p>Get the application context part (such as script name or a web page) of
<hr>
<div class="refsect2">
<a name="signon-security-context-build-variant"></a><h3>signon_security_context_build_variant ()</h3>
-<pre class="programlisting"><span class="returnvalue">GVariant</span> *
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
signon_security_context_build_variant (<em class="parameter"><code>const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *ctx</code></em>);</pre>
<p>Build a GVariant of type "(ss)" from a <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> item.</p>
<div class="refsect3">
<a name="signon-security-context-deconstruct-variant"></a><h3>signon_security_context_deconstruct_variant ()</h3>
<pre class="programlisting"><a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="returnvalue">SignonSecurityContext</span></a> *
signon_security_context_deconstruct_variant
- (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre>
+ (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre>
<p>Builds a <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> item from a GVariant of type "(ss)".</p>
<div class="refsect3">
<a name="id-1.3.3.5.7.11.5"></a><h4>Parameters</h4>
<hr>
<div class="refsect2">
<a name="signon-security-context-list-build-variant"></a><h3>signon_security_context_list_build_variant ()</h3>
-<pre class="programlisting"><span class="returnvalue">GVariant</span> *
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
signon_security_context_list_build_variant
(<em class="parameter"><code>const <a class="link" href="SignonSecurityContext.html#SignonSecurityContextList" title="SignonSecurityContextList"><span class="type">SignonSecurityContextList</span></a> *list</code></em>);</pre>
<p>Builds a GVariant of type "a(ss)" from a GList of <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a>
<a name="signon-security-context-list-deconstruct-variant"></a><h3>signon_security_context_list_deconstruct_variant ()</h3>
<pre class="programlisting"><a class="link" href="SignonSecurityContext.html#SignonSecurityContextList" title="SignonSecurityContextList"><span class="returnvalue">SignonSecurityContextList</span></a> *
signon_security_context_list_deconstruct_variant
- (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre>
+ (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre>
<p>Builds a GList of <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> items from a GVariant of type
"a(ss)".</p>
<div class="refsect3">
</colgroup>
<tbody>
<tr>
-<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="SignonSecurityContext-struct.sys-ctx"></a>sys_ctx</code></em>;</p></td>
+<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="SignonSecurityContext-struct.sys-ctx"></a>sys_ctx</code></em>;</p></td>
<td class="struct_member_description"><p>system context, such as SMACK-label, MSSF token or just a
binary path.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
-<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="SignonSecurityContext-struct.app-ctx"></a>app_ctx</code></em>;</p></td>
+<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="SignonSecurityContext-struct.app-ctx"></a>app_ctx</code></em>;</p></td>
<td class="struct_member_description"><p>application context, such as a script or a web page.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">libgsignon-glib Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
- This document is for libgsignon-glib, version 2.2.0
+ This document is for libgsignon-glib, version 2.3.0
. The latest
version of this documentation can be found on-line at
<a class="ulink" href="http://gsignon-docs.accounts-sso.googlecode.com/git/libgsignon-glib/index.html" target="_top">
</tr>
<tr>
<td class="function_type">
-<span class="returnvalue">GQuark</span>
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
</td>
<td class="function_name">
<a class="link" href="libgsignon-glib-SignonError.html#signon-error-quark" title="signon_error_quark ()">signon_error_quark</a> <span class="c_punctuation">()</span>
<a name="SIGNON-ERROR:CAPS"></a><h3>SIGNON_ERROR</h3>
<pre class="programlisting">#define SIGNON_ERROR (signon_error_quark())
</pre>
-<p>This macro is used when creating a <span class="type">GError</span> in libgsignond-glib library</p>
+<p>This macro is used when creating a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> in libgsignond-glib library</p>
</div>
<hr>
<div class="refsect2">
<a name="signon-error-quark"></a><h3>signon_error_quark ()</h3>
-<pre class="programlisting"><span class="returnvalue">GQuark</span>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
signon_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates and returns a domain for gSSO errors.</p>
</div>
<div class="titlepage"><div><div><h2 class="title">
<a name="object-tree"></a>Object Hierarchy</h2></div></div></div>
<pre class="screen">
- GObject
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
<span class="lineart">├──</span> <a class="link" href="SignonAuthService.html" title="SignonAuthService">SignonAuthService</a>
<span class="lineart">├──</span> <a class="link" href="SignonAuthSession.html" title="SignonAuthSession">SignonAuthSession</a>
<span class="lineart">╰──</span> <a class="link" href="SignonIdentity.html" title="SignonIdentity">SignonIdentity</a>
/**
* SignonAuthSessionState:
- *
* @SIGNON_AUTH_SESSION_STATE_NOT_STARTED: No message.
* @SIGNON_AUTH_SESSION_STATE_RESOLVING_HOST: Resolving remote server host name.
* @SIGNON_AUTH_SESSION_STATE_CONNECTING: Connecting to remote server.
gpointer user_data;
} IdentityCredentialsUpdateCbData;
+typedef struct _IdentityReferenceCbData
+{
+ SignonIdentity *self;
+ gchar *reference;
+ SignonIdentityVoidCb cb;
+ gpointer user_data;
+} IdentityReferenceCbData;
+
typedef struct _IdentityVoidCbData
{
SignonIdentity *self;
operation_data);
}
+static void
+identity_reference_added_reply (GObject *object, GAsyncResult *res,
+ gpointer userdata)
+{
+ SsoIdentity *proxy = SSO_IDENTITY (object);
+ gint result;
+ GError *error = NULL;
+ IdentityReferenceCbData *cb_data = (IdentityReferenceCbData *)userdata;
+
+ g_return_if_fail (cb_data != NULL);
+ g_return_if_fail (cb_data->self != NULL);
+ g_return_if_fail (cb_data->self->priv != NULL);
+
+ sso_identity_call_add_reference_finish (proxy, &result, res, &error);
+
+ if (SIGNON_IS_NOT_CANCELLED (error) && cb_data->cb)
+ {
+ (cb_data->cb) (cb_data->self, error, cb_data->user_data);
+ }
+
+ g_clear_error(&error);
+ g_free (cb_data->reference);
+ g_slice_free (IdentityReferenceCbData, cb_data);
+}
+
+static void
+identity_reference_removed_reply (GObject *object, GAsyncResult *res,
+ gpointer userdata)
+{
+ SsoIdentity *proxy = SSO_IDENTITY (object);
+ gint result;
+ GError *error = NULL;
+ IdentityReferenceCbData *cb_data = (IdentityReferenceCbData *)userdata;
+
+ g_return_if_fail (cb_data != NULL);
+ g_return_if_fail (cb_data->self != NULL);
+ g_return_if_fail (cb_data->self->priv != NULL);
+
+ sso_identity_call_remove_reference_finish (proxy, &result, res, &error);
+
+ if (SIGNON_IS_NOT_CANCELLED (error) && cb_data->cb)
+ {
+ (cb_data->cb) (cb_data->self, error, cb_data->user_data);
+ }
+
+ g_clear_error(&error);
+ g_free (cb_data->reference);
+ g_slice_free (IdentityReferenceCbData, cb_data);
+}
+
+static void
+identity_add_reference_ready_cb(gpointer object, const GError *error,
+ gpointer user_data)
+{
+ g_return_if_fail (SIGNON_IS_IDENTITY (object));
+
+ SignonIdentity *self = SIGNON_IDENTITY (object);
+ SignonIdentityPrivate *priv = self->priv;
+ g_return_if_fail (priv != NULL);
+
+ DEBUG ("%s %d", G_STRFUNC, __LINE__);
+ IdentityReferenceCbData *cb_data = (IdentityReferenceCbData *)user_data;
+ g_return_if_fail (cb_data != NULL);
+
+ if (priv->removed == TRUE)
+ {
+ GError *new_error = g_error_new (signon_error_quark(),
+ SIGNON_ERROR_IDENTITY_NOT_FOUND,
+ "Already removed from database.");
+ if (cb_data->cb)
+ {
+ (cb_data->cb) (self, new_error, cb_data->user_data);
+ }
+
+ g_error_free (new_error);
+ g_free (cb_data->reference);
+ g_slice_free (IdentityReferenceCbData, cb_data);
+ }
+ else if (error)
+ {
+ DEBUG ("IdentityError: %s", error->message);
+ if (cb_data->cb)
+ {
+ (cb_data->cb) (self, error, cb_data->user_data);
+ }
+
+ g_free (cb_data->reference);
+ g_slice_free (IdentityReferenceCbData, cb_data);
+ }
+ else
+ {
+ g_return_if_fail (priv->proxy != NULL);
+ sso_identity_call_add_reference (priv->proxy,
+ cb_data->reference,
+ priv->cancellable,
+ identity_reference_added_reply,
+ cb_data);
+ }
+}
+
+static void
+identity_remove_reference_ready_cb(gpointer object, const GError *error,
+ gpointer user_data)
+{
+ g_return_if_fail (SIGNON_IS_IDENTITY (object));
+
+ SignonIdentity *self = SIGNON_IDENTITY (object);
+ SignonIdentityPrivate *priv = self->priv;
+ g_return_if_fail (priv != NULL);
+
+ DEBUG ("%s %d", G_STRFUNC, __LINE__);
+ IdentityReferenceCbData *cb_data = (IdentityReferenceCbData *)user_data;
+ g_return_if_fail (cb_data != NULL);
+
+ if (priv->removed == TRUE)
+ {
+ GError *new_error = g_error_new (signon_error_quark(),
+ SIGNON_ERROR_IDENTITY_NOT_FOUND,
+ "Already removed from database.");
+ if (cb_data->cb)
+ {
+ (cb_data->cb) (self, new_error, cb_data->user_data);
+ }
+
+ g_error_free (new_error);
+ g_free (cb_data->reference);
+ g_slice_free (IdentityReferenceCbData, cb_data);
+ }
+ else if (error)
+ {
+ DEBUG ("IdentityError: %s", error->message);
+ if (cb_data->cb)
+ {
+ (cb_data->cb) (self, error, cb_data->user_data);
+ }
+ g_free (cb_data->reference);
+ g_slice_free (IdentityReferenceCbData, cb_data);
+ }
+ else
+ {
+ g_return_if_fail (priv->proxy != NULL);
+ sso_identity_call_remove_reference (priv->proxy,
+ cb_data->reference,
+ priv->cancellable,
+ identity_reference_removed_reply,
+ cb_data);
+ }
+}
+
/**
* signon_identity_remove:
* @self: the #SignonIdentity.
SignonIdentityPrivate *priv = self->priv;
g_return_if_fail (priv != NULL);
- //TODO implement
+ IdentityReferenceCbData *cb_data = g_slice_new0 (IdentityReferenceCbData);
+ cb_data->self = self;
+ cb_data->reference = g_strdup (reference);
+ cb_data->cb = (SignonIdentityVoidCb)cb;
+ cb_data->user_data = user_data;
- if (cb)
- (cb) (self, NULL, user_data);
+ identity_check_remote_registration (self);
+ _signon_object_call_when_ready (self,
+ identity_object_quark(),
+ identity_add_reference_ready_cb,
+ cb_data);
}
/**
SignonIdentityPrivate *priv = self->priv;
g_return_if_fail (priv != NULL);
- //TODO implement
+ IdentityReferenceCbData *cb_data = g_slice_new0 (IdentityReferenceCbData);
+ cb_data->self = self;
+ cb_data->reference = g_strdup (reference);
+ cb_data->cb = (SignonIdentityVoidCb)cb;
+ cb_data->user_data = user_data;
- if (cb)
- (cb) (self, NULL, user_data);
+ identity_check_remote_registration (self);
+ _signon_object_call_when_ready (self,
+ identity_object_quark(),
+ identity_remove_reference_ready_cb,
+ cb_data);
}
/**
/*
* Try to remove already removed
* */
-
signon_identity_remove(idty2, identity_remove_cb, GINT_TO_POINTER(TRUE));
g_object_unref (idty);
}
END_TEST
+static void identity_ref_add_cb(SignonIdentity *self, const GError *error,
+ gpointer user_data)
+{
+ g_warning (" %s ", __func__);
+ if (error)
+ {
+ g_warning ("Error: %s ", error->message);
+ fail_if (user_data == NULL, "There should be no error in callback");
+ }
+ else
+ {
+ g_warning ("No error");
+ fail_if (user_data != NULL, "The callback must return an error");
+ }
+
+ _stop_mainloop ();
+}
+
+static void identity_ref_remove_cb(SignonIdentity *self, const GError *error,
+ gpointer user_data)
+{
+ g_warning (" %s ", __func__);
+ if (error)
+ {
+ g_warning ("Error: %s ", error->message);
+ fail_if (user_data == NULL, "There should be no error in callback");
+ }
+ else
+ {
+ g_warning ("No error");
+ fail_if (user_data != NULL, "The callback must return an error");
+ }
+
+ _stop_mainloop ();
+}
+
+START_TEST(test_referenc_remove_identity)
+{
+ g_debug("%s", G_STRFUNC);
+ SignonIdentity *idty = signon_identity_new ();
+ fail_unless (idty != NULL);
+ fail_unless (SIGNON_IS_IDENTITY (idty),
+ "Failed to initialize the Identity.");
+
+ /*
+ * Try to remove non-existing reference
+ * */
+ signon_identity_remove_reference(idty, "no-ref", identity_ref_remove_cb,
+ GINT_TO_POINTER(TRUE));
+ _run_mainloop ();
+
+ gint id = new_identity();
+ SignonIdentity *idty2 = signon_identity_new_from_db (id);
+ signon_identity_add_reference(idty2, "app-rem1", identity_ref_add_cb,
+ NULL);
+ _run_mainloop ();
+
+ /*
+ * Try to remove existing reference
+ * */
+ signon_identity_remove_reference(idty2, "app-rem1", identity_remove_cb,
+ NULL);
+ _run_mainloop ();
+
+ g_object_unref (idty);
+ g_object_unref (idty2);
+}
+END_TEST
+
+START_TEST(test_referenc_add_identity)
+{
+ g_debug("%s", G_STRFUNC);
+
+ gint id = new_identity();
+ SignonIdentity *idty = signon_identity_new_from_db (id);
+ fail_unless (idty != NULL);
+ fail_unless (SIGNON_IS_IDENTITY (idty),
+ "Failed to initialize the Identity.");
+ /*
+ * Try to add non-existing reference
+ * */
+ signon_identity_add_reference(idty, "app1", identity_ref_add_cb,
+ NULL);
+ _run_mainloop ();
+
+ /*
+ * Try to add an existing reference (which replaces the old one)
+ * */
+ signon_identity_add_reference(idty, "app1", identity_ref_add_cb,
+ NULL);
+ _run_mainloop ();
+
+ /*
+ * Try to add another reference
+ * */
+ signon_identity_add_reference(idty, "app2", identity_ref_add_cb,
+ NULL);
+ _run_mainloop ();
+
+ g_object_unref (idty);
+}
+END_TEST
+
static gboolean _contains(gchar **mechs, gchar *mech)
{
gboolean present = FALSE;
tcase_add_test (tc_core, test_auth_session_process_after_store);
tcase_add_test (tc_core, test_store_credentials_identity);
tcase_add_test (tc_core, test_remove_identity);
+ tcase_add_test (tc_core, test_referenc_remove_identity);
+ tcase_add_test (tc_core, test_referenc_add_identity);
tcase_add_test (tc_core, test_info_identity);
tcase_add_test (tc_core, test_query_identities);
dbus-test-runner -m 180 -t gsignond \
-t "$TEST_APP" -f com.google.code.AccountsSSO.gSingleSignOn
else
- #echo "Using existing D-Bus session"
- #pkill gsignond || true
- #trap "pkill -9 gsignond" EXIT
- #gsignond &
- #sleep 2
+ echo "Using existing D-Bus session"
+ pkill gsignond || true
+ trap "pkill -9 gsignond" EXIT
+ gsignond &
+ sleep 2
$TEST_APP
fi
if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
echo "Invalid arguments supplied"
- echo "Usage: ./prepare-tizen.sh <arcive> <destination>"
+ echo "Usage: ./prepare-tizen.sh <archive> <destination>"
echo "NOTE: All the files will be extracted under destfolder (instead of destfolder/libgsignon-glib-<version>)"
exit
fi
mkdir -p $2 && \
cd $2 && \
-git rm -f -r *; rm -rf packaging;
+git rm -f -r *;
tar -xzvf $1 -C $2 --strip-components 1 && \
-mkdir -p packaging && \
-cp -f dists/rpm/libgsignon-glib-tizen.spec packaging/libgsignon-glib.spec && \
-cp -f dists/rpm/libgsignon-glib-tizen.changes packaging/libgsignon-glib.changes && \
git add -f *;