| GnomeVFS - Filesystem Abstraction library | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#define GNOME_VFS_HOOKNAME_BASIC_AUTH #define GNOME_VFS_HOOKNAME_HTTP_PROXY_AUTH typedef GnomeVFSCallbackSimpleAuthIn; typedef GnomeVFSCallbackSimpleAuthOut; |
typedef struct {
char *uri; /* Full URI of operation */
char *realm; /* for HTTP auth, NULL for others */
gboolean previous_authn_failed;
/* TRUE if there were credentials specified
* for this request, but they resulted in
* an authorization error.
* ("you gave me the wrong pw!")
*
* FALSE if there were no credentials specified
* but they are required to continue
*
*/
enum {
AuthTypeBasic, /* Password will be transmitted unencrypted */
AuthTypeDigest /* Digest is transferred, not plaintext credentials */
} auth_type;
} GnomeVFSCallbackSimpleAuthIn; |
typedef struct {
char *username; /* will be freed by g_free,
* NULL indicates no auth should be provided;
* if the request requires authn, the operation
* will fail with a GNOME_VFS_ERROR_ACCESS_DENIED
* code
*/
char *password; /* will be freed by g_free */
} GnomeVFSCallbackSimpleAuthOut; |