예제 #1
0
        public ActionResult GetGoogleDriveAuthAsync(string devicePlanId)
        {
            PlatformGoogle pg = new PlatformGoogle(_env.ContentRootPath);

            pg.AuthRequestUrl(Request.Host.Value);

            return(Redirect(pg.AuthRequestUrl(Request.Host.Value) + "&state=" + WebUtility.UrlEncode(devicePlanId)));
        }