mod_http_oauth2: Updates for Prosody's new role API (backwards-compatible)
module:hook("authentication-success",function(event)localsession=event.session;localsasl_handler=session.sasl_handler;session.log("info","Authenticated with %s",sasl_handlerandsasl_handler.selectedor"legacy auth");end);