Constructor

SoupAuthDomainBasicnew

Declaration [src]

SoupAuthDomain*
soup_auth_domain_basic_new (
  const char* optname1,
  ...
)

Description [src]

Creates a SoupAuthDomainBasic.

You must set the SoupAuthDomain:realm property, to indicate the realm name to be returned with the authentication challenge to the client. Other parameters are optional.

Parameters

optname1 const char*
 

Name of first option, or NULL.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
...
 

Option name/value pairs.

Return value

Returns: SoupAuthDomain
 

The new SoupAuthDomain.

 The caller of the function takes ownership of the data, and is responsible for freeing it.