Auth.getAuthorization

Generates an appropriate "Authorization" header for msg.

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

class Auth
string
getAuthorization

Parameters

msg soup.message.Message

the #SoupMessage to be authorized

Return Value

Type: string

the "Authorization" header, which must be freed.