public static bool Login(string tenantName, string destUrl, PromptBehavior behavior)
        {
            if (Helper == null)
            {
                Helper = new SPOServiceHelper();
            }

            if (string.IsNullOrEmpty(tenantName) && !string.IsNullOrEmpty(SpecifiedTenantName))
            {
                tenantName = SpecifiedTenantName;
            }

            if (!string.IsNullOrEmpty(destUrl) && !destUrl.StartsWith("/"))
            {
                destUrl = "/" + destUrl;
            }

            var baseLogin = string.Format(baseFormat, tenantName);
            var destSite  = new Uri(string.Format(subFormat, tenantName, destUrl));

            try
            {
                var service = Helper.InstantiateSPOService(destSite, baseLogin, null, COMMON_AUTH_URL, behavior);
                SP1 = service.Context;
            }
            catch
            {
                return(false);
            }
            SpecifiedTenantName = tenantName;
            return(Connected);
        }