accepts_authorization


Description:

[ CCode ( cname = "soup_auth_domain_accepts" ) ]
public string? accepts_authorization (Message msg)

Checks if msg contains appropriate authorization for this to accept it.

Mirroring covers, this does not check whether or not this cares if msg is authorized.

This is used by Server internally and is probably of no use to anyone else.

Parameters:

this

a AuthDomain

msg

a Message

Returns:

the username that msg has authenticated as, if in fact it has authenticated. null otherwise.