## SoupAuth

SoupAuth —

## Synopsis

    struct      SoupAuth;
    SoupAuth*   soup_auth_new_from_header_list  (const GSList *header);
    const char* soup_auth_get_scheme_name       (SoupAuth *auth);
    const char* soup_auth_get_realm             (SoupAuth *auth);
    void        soup_auth_authenticate          (SoupAuth *auth,
                                                 const char *username,
                                                 const char *password);
    gboolean    soup_auth_is_authenticated      (SoupAuth *auth);
    char*       soup_auth_get_authorization     (SoupAuth *auth,
                                                 SoupMessage *msg);
    GSList*     soup_auth_get_protection_space  (SoupAuth *auth,
                                                 const SoupUri *source_uri);
    void        soup_auth_free_protection_space (SoupAuth *auth,
                                                 GSList *space);

## Object Hierarchy

      GObject
       +----SoupAuth
             +----SoupAuthBasic
             +----SoupAuthDigest

## Description

## Details

### struct SoupAuth

    struct SoupAuth;

### soup_auth_new_from_header_list ()

    SoupAuth*   soup_auth_new_from_header_list  (const GSList *header);

`header` : |
Returns : |

### soup_auth_get_scheme_name ()

    const char* soup_auth_get_scheme_name       (SoupAuth *auth);

`auth` : |
Returns : |

### soup_auth_get_realm ()

    const char* soup_auth_get_realm             (SoupAuth *auth);

`auth` : |
Returns : |

### soup_auth_authenticate ()

    void        soup_auth_authenticate          (SoupAuth *auth,
                                                 const char *username,
                                                 const char *password);

`auth` : |
`username` : |
`password` : |

### soup_auth_is_authenticated ()

    gboolean    soup_auth_is_authenticated      (SoupAuth *auth);

`auth` : |
Returns : |

### soup_auth_get_authorization ()

    char*       soup_auth_get_authorization     (SoupAuth *auth,
                                                 SoupMessage *msg);

`auth` : |
`msg` : |
Returns : |

### soup_auth_get_protection_space ()

    GSList*     soup_auth_get_protection_space  (SoupAuth *auth,
                                                 const SoupUri *source_uri);

`auth` : |
`source_uri` : |
Returns : |

### soup_auth_free_protection_space ()

    void        soup_auth_free_protection_space (SoupAuth *auth,
                                                 GSList *space);

`auth` : |
`space` : |