Auth.this

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

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(gobject.types.GType type, soup.message.Message msg, string authHeader)

Parameters

type gobject.types.GType

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

msg soup.message.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