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?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
How do I invoke a controller action from the adapter?
|
3 | 2045 | February 12, 2015 | |
| Getting Controller properties from Adapters | 12 | 3462 | July 5, 2015 | |
| Adapter error when connection is lost | 3 | 3056 | December 7, 2015 | |
| Changing adapter property during runtime | 0 | 934 | June 12, 2015 | |
| Adapter With dependency from another Model | 2 | 1251 | June 30, 2013 |