SalesForceSignIn.SalesforceClient.GetServiceLoginUrl C# (CSharp) Метод

GetServiceLoginUrl() защищенный Метод

Gets the full url pointing to the login page for this client. The url should include the specified return url so that when the login completes, user is redirected back to that url.
protected GetServiceLoginUrl ( Uri returnUrl ) : Uri
returnUrl System.Uri The return URL.
Результат System.Uri
        protected override Uri GetServiceLoginUrl(Uri returnUrl)
        {
            var builder = new UriBuilder(AuthorizationEndpoint);

            builder.AppendQueryArgs(
                new Dictionary<string, string>
                    {
                        {"grant_type", "authorization_code"},
                        {"client_id", this.appId},
                        {"client_secret", this.appSecret},
                        //{ "scope", string.Join(" ", this.requestedScopes) },
                        {"response_type", "code"},
                        {"redirect_uri", returnUrl.AbsoluteUri},
                    });

            return builder.Uri;
        }