AuthBridge.Clients.GoogleOAuthClient.GetServiceLoginUrl C# (CSharp) Метод

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

protected GetServiceLoginUrl ( Uri returnUrl ) : Uri
returnUrl System.Uri
Результат System.Uri
        protected override Uri GetServiceLoginUrl(Uri returnUrl)
        {
            var builder = new UriBuilder(_authorizationEndpoint);
            builder.AppendQueryArgs(
                new Dictionary<string, string>
                {
                    {"response_type", "code"},
                    {"redirect_uri", returnUrl.AbsoluteUri},
                    {"scope", "https://www.googleapis.com/auth/userinfo.email"},
                    {"client_id", _clientId}
                });

            return builder.Uri;
        }