ASC.Web.Files.ThirdPartyApp.GoogleDriveApp.RequestCode(System.Web.HttpContext)

Here are the examples of the csharp api class ASC.Web.Files.ThirdPartyApp.GoogleDriveApp.RequestCode(System.Web.HttpContext) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: CommunityServer
Source File: GoogleDriveApp.cs
public bool Request(HttpContext context)
        {
            switch ((context.Request[FilesLinkUtility.Action] ?? "").ToLower())
            {
                case "stream":
                    StreamFile(context);
                    return true;
                case "convert":
                    ConfirmConvertFile(context);
                    return true;
                case "create":
                    CreateFile(context);
                    return true;
            }

            if (!string.IsNullOrEmpty(context.Request["code"]))
            {
                RequestCode(context);
                return true;
            }

            return false;
        }