create_get_url() 공개 메소드

public create_get_url ( string url, object _params ) : string
url string
_params object
리턴 string
예제 #1
0
    /**
    * Return Authorization url to get auth_code 
    *
    * @return string 
    */

    public string  get_auth_url() {  
        _client  = new Client();
        string url = _client.get_dashboard_url() + "/auth";
        var param = new { response_type = "code", client_id =_client.client_id , redirect_uri = _client.get_current_url(),scope=_client.scope };
        url = _client.create_get_url(url, param);
        return url;
    }
예제 #2
0
        /**
         * Return Authorization url to get auth_code
         *
         * @return string
         */

        public string  get_auth_url()
        {
            _client = new Client();
            string url   = _client.get_dashboard_url() + "/auth";
            var    param = new { response_type = "code", client_id = _client.client_id, redirect_uri = _client.get_current_url(), scope = _client.scope };

            url = _client.create_get_url(url, param);
            return(url);
        }