Access controller from adapter


#1

I have an adapter which works over websockets. In case the connection is lost, I would like to either notify the login controller, that it needs to authenticate again on the next request, or I would like to have the adapter check if the login controller has a token persisted, which may be used to authenticate again. Is there any way I can access the controller from the adapter? Or is there a way to at least notify the controller of a sudden event (connection lost) from the adapter?