make_basic


Description:

public static string make_basic (string user, string pass)

Construct a Basic authorisation token from user and pass.

Parameters:

user

a userid

pass

a password

Returns:

the base64 encoding of the string user:pass. g_free after usage.