CartoDBClient.oAuthCartoDB.AuthorizationLinkGet C# (CSharp) Метод

AuthorizationLinkGet() публичный Метод

Get the link to CartoDB's authorization page for this application.
public AuthorizationLinkGet ( ) : string
Результат string
        public string AuthorizationLinkGet()
        {
            string ret = null;

            string response = oAuthWebRequest(Method.GET, REQUEST_TOKEN, String.Empty);
            if (response.Length > 0)
            {
                //response contains token and token secret.  We only need the token.
                NameValueCollection qs = HttpUtility.ParseQueryString(response);
                if (qs["oauth_token"] != null)
                {
                    ret = AUTHORIZE + "?oauth_token=" + qs["oauth_token"];
                }
            }
            return ret;
        }