コード例 #1
0
        private string GetActiveUserFolderURL(MinusScope scope)
        {
            if (!string.IsNullOrEmpty(this.Password))
            {
                Config.MinusUser = null; // user requested reconfiguration
                this.Password    = string.Empty;
            }
            MinusUser user = Config.MinusUser != null ? Config.MinusUser : Config.MinusUser = GetActiveUser(scope);
            string    url  = URL_API + "/users/" + user.slug + "/folders?bearer_token=" + Config.GetToken(scope).access_token;

            return(url);
        }
コード例 #2
0
        private string GetActiveUserFolderURL()
        {
            MinusUser user = Config.MinusUser ?? (Config.MinusUser = GetActiveUser());

            return(URL_API + "/users/" + user.slug + "/folders?bearer_token=" + AuthInfo.Token.access_token);
        }
コード例 #3
0
        private string GetActiveUserFolderURL(MinusScope scope)
        {
            MinusUser user = Config.MinusUser ?? (Config.MinusUser = GetActiveUser(scope));

            return(URL_API + "/users/" + user.slug + "/folders?bearer_token=" + Config.GetToken(scope).access_token);
        }