public virtual String GetAuthorizationFullUrl() { UriBuilder ub = new UriBuilder(this.AuthorizationUrl); QueryParams queryItems = new QueryParams(); queryItems.Add("client_id", this.ConsumerKey); queryItems.Add("redirect_uri", this.CallbackUrl); queryItems.Add("response_type", "code"); queryItems.Add("scope", this.Scope); return(ub.ToString() + "?" + queryItems.ToEncodedString()); }
public virtual String GetAuthorizationFullUrl() { UriBuilder ub = new UriBuilder( this.AuthorizationUrl ); QueryParams queryItems = new QueryParams(); queryItems.Add( "client_id", this.ConsumerKey ); queryItems.Add( "redirect_uri", this.CallbackUrl ); queryItems.Add( "response_type", "code" ); queryItems.Add( "scope", this.Scope ); return ub.ToString() + "?" + queryItems.ToEncodedString(); }