I've just started using caliburn micro. It works great for most things. The only thing I can't figure out is how to show a login pop-up when an unauthenticated user tries to access a restriced screen.
I want to have a simple way to define in a view model that it requires authentication and whenever the user navigates to a screen that uses the view model I want to check if that user is authenticated and if not show a login screen or pop up.
after the user logs in he will be sent to the screen he tried to navigate to.
I'm coming from web development where this is a very standard approach you define which screens should be restricted and redirect to a login page passing the url the user tried to access in the querystring)
what's the best way to do that with caliburn micro? anyone has a good sample?