Soup.AuthDomain.challenge
Description: Reference for Soup.AuthDomain.challenge

### Virtual Method

# Soup AuthDomainchallenge

#### Declaration [src]

    char*
    challenge (
      SoupAuthDomain* domain,
      SoupServerMessage* msg
    )

#### Description [src]

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

It requests that the client authenticate, and sets `msg`‘s status accordingly.

This is used by `SoupServer` internally and is probably of no use to anyone else.

#### Parameters

`msg`

  Type: `SoupServerMessage`

  A `SoupServerMessage`.

  The data is owned by the caller of the method.

#### Return value

Type: `char*`

No description available.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.