AuthDomain.accepts

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

Mirroring soup.auth_domain.AuthDomain.covers, this does not check whether or not domain *cares* if msg is authorized.

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

class AuthDomain
string
accepts

Parameters

msg soup.server_message.ServerMessage

a #SoupServerMessage

Return Value

Type: string

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