Auth.this

Creates a new #SoupAuth of type @type with the information from @msg and @auth_header.

This is called by #SoupSession; you will normally not create auths yourself.

  1. this(SoupAuth* soupAuth, bool ownedRef)
  2. this(GType type, Message msg, string authHeader)
    class Auth
    this
    (
    GType type
    ,,
    string authHeader
    )

Parameters

type GType

the type of auth to create (a subtype of #SoupAuth)

msg Message

the #SoupMessage the auth is being created for

authHeader string

the WWW-Authenticate/Proxy-Authenticate header

Return Value

the new #SoupAuth, or %NULL if it could not be created

Throws

ConstructionException GTK+ fails to create the object.

Meta