My application is an FBML canvas application, built using the Facebook Developer Toolkit for ASP.NET MVC framework, it's hosted on a fan page of Facebook so I don't use the Facebook Connect Login.
To make sure user must login into Facebook before using my application, I know If we use ASP.NET WebForms, we can simply inherite from the CanvasIFrameMasterPage and set the attribute RequireLogin in the constructor IFrameMaster like below:
public partial class IFrameMaster : Facebook.Web.CanvasIFrameMasterPage
RequireLogin = true;
But I have to use the ASP.NET MVC framework. So is there anyone please tell me how I can set the attribute RequireLogin ?
Thanks in advanced.