Soup.AuthDomainBasic
Description: Reference for Soup.AuthDomainBasic

### Class

# SoupAuthDomainBasic

#### Description [src]

    final class Soup.AuthDomainBasic : Soup.AuthDomain
    {
      /* No available fields */
    }

Server-side “Basic” authentication.

`SoupAuthDomainBasic` handles the server side of HTTP “Basic” (ie, cleartext password) authentication.

#### Hierarchy

#### Ancestors

- SoupAuthDomain
- GObject

#### Constructors

###### soup_auth_domain_basic_new

Creates a `SoupAuthDomainBasic`.

#### Instance methods

###### soup_auth_domain_basic_set_auth_callback

Sets the callback that `domain` will use to authenticate incoming requests.

##### Methods inherited from SoupAuthDomain (9)

###### soup_auth_domain_accepts

Checks if `msg` contains appropriate authorization for `domain` to accept it.

###### soup_auth_domain_add_path

Adds `path` to `domain`.

###### soup_auth_domain_challenge

Adds a “WWW-Authenticate” or “Proxy-Authenticate” header to `msg`.

###### soup_auth_domain_check_password

Checks if `msg` authenticates to `domain` via `username` and `password`.

###### soup_auth_domain_covers

Checks if `domain` requires `msg` to be authenticated (according to its paths and filter function).

###### soup_auth_domain_get_realm

Gets the realm name associated with `domain`.

###### soup_auth_domain_remove_path

Removes `path` from `domain`.

###### soup_auth_domain_set_filter

Adds `filter` as an authentication filter to `domain`.

###### soup_auth_domain_set_generic_auth_callback

Sets `auth_callback` as an authentication-handling callback for `domain`.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Soup.AuthDomainBasic:auth-callback

The `SoupAuthDomainBasicAuthCallback`.

###### Soup.AuthDomainBasic:auth-data

The data to pass to the `SoupAuthDomainBasicAuthCallback`.

##### Properties inherited from SoupAuthDomain (6)

###### Soup.AuthDomain:filter

The `SoupAuthDomainFilter` for the domain.

###### Soup.AuthDomain:filter-data

Data to pass to the `SoupAuthDomainFilter`.

###### Soup.AuthDomain:generic-auth-callback

The `SoupAuthDomainGenericAuthCallback`.

###### Soup.AuthDomain:generic-auth-data

The data to pass to the `SoupAuthDomainGenericAuthCallback`.

###### Soup.AuthDomain:proxy

Whether or not this is a proxy auth domain.

###### Soup.AuthDomain:realm

The realm of this auth domain.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct SoupAuthDomainBasicClass {
      SoupAuthDomainClass parent_class;

    }

No description available.

###### Class members

`parent_class: SoupAuthDomainClass`

  No description available.