accepts

open fun accepts(msg: ServerMessage): String?

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

Mirroring method@AuthDomain.covers, this does not check whether or not

Return

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

Parameters

msg

a #SoupServerMessage