internal void LoginServiceProvider(Page page, ApplicationContext application, Device device) { if (IsGoogle(application)) { //Page and login method } }
internal static bool IsGoogle(ApplicationContext application) { return application.Context.Equals("google"); }