AuthDomain.accepts

Checks if @msg contains appropriate authorization for @domain to accept it. Mirroring soup_auth_domain_covers(), this does not check whether or not @domain <emphasis>cares</emphasis> if @msg is authorized.

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

class AuthDomain
string
accepts

Parameters

msg Message

a #SoupMessage

Return Value

Type: string

the username that @msg has authenticated as, if in fact it has authenticated. %NULL otherwise.

Meta