get_authorization


Description:

public virtual string get_authorization (Message msg)

Generates an appropriate "Authorization" header for msg.

(The session will only call this if soup_auth_is_authenticated returned true.)

Parameters:

this

a Auth

msg

the Message to be authorized

Returns:

the "Authorization" header, which must be freed.