Checks whether the request associated with @client has been authenticated, and if so returns the username that the client authenticated as.
the authenticated-as user, or %NULL if the request was not authenticated.
See Implementation
Checks whether the request associated with @client has been authenticated, and if so returns the username that the client authenticated as.