GnomeAuthentication

## GnomeAuthentication GnomeAuthentication |

## Synopsis

    #include <libgnomeui/libgnomeui.h>

    void                gnome_authentication_manager_init   (void);
    gboolean            gnome_authentication_manager_dialog_is_visible
                                                            (void);
    void                gnome_authentication_manager_pop_async
                                                            (void);
    void                gnome_authentication_manager_pop_sync
                                                            (void);
    void                gnome_authentication_manager_push_async
                                                            (void);
    void                gnome_authentication_manager_push_sync
                                                            (void);

## Description

## Details

### gnome_authentication_manager_init ()

    void                gnome_authentication_manager_init   (void);

This function checks for thread support and does a thread initialisation, if the support is available. Also sets the default sync and async gnome-vfs callbacks for various types of authentication.

Note: If you call this, and you use threads with gtk+, you must never hold the gdk lock while doing synchronous gnome-vfs calls. Otherwise an authentication callback presenting a dialog could try to grab the already held gdk lock, causing a deadlock.

Since 2.4

### gnome_authentication_manager_dialog_is_visible ()

    gboolean            gnome_authentication_manager_dialog_is_visible
                                                            (void);

This function checks whether there are any references on the authentication dialog and returns a a gboolean value.

Returns : | TRUE if there are any references on the authentication dialog, FALSE otherwise.

Since 2.8

### gnome_authentication_manager_pop_async ()

    void                gnome_authentication_manager_pop_async
                                                            (void);

This function calls `gnome_vfs_async_module_callback_pop()` to remove all the temporary async gnome-vfs callbacks associated with various types of authentication.

Since 2.6

### gnome_authentication_manager_pop_sync ()

    void                gnome_authentication_manager_pop_sync
                                                            (void);

This function calls `gnome_vfs_module_callback_pop()` to remove all the gnome-vfs sync handlers associated with various types of authentication.

Since 2.6

### gnome_authentication_manager_push_async ()

    void                gnome_authentication_manager_push_async
                                                            (void);

This function calls `gnome_vfs_async_module_callback_push()` to set temporary async handlers for the various types of authentication.

Since 2.6

### gnome_authentication_manager_push_sync ()

    void                gnome_authentication_manager_push_sync
                                                            (void);

This function calls `gnome_vfs_module_callback_push()` to set temperory handlers for various types of authentication.

Since 2.6