Auth.getAuthorization

string getAuthorization(soup.message.Message msg)

Generates an appropriate "Authorization" header for msg.

(The session will only call this if [soup.auth.Auth.isAuthenticated] returned true.)

Parameters

msgthe #SoupMessage to be authorized

Returns

the "Authorization" header, which must be freed.