AuthBridge.Clients.AzureAdOAuthClient.GetServiceLoginUrl C# (CSharp) Method

GetServiceLoginUrl() protected method

protected GetServiceLoginUrl ( Uri returnUrl ) : Uri
returnUrl System.Uri
return System.Uri
        protected override Uri GetServiceLoginUrl(Uri returnUrl)
        {
            var builder = new UriBuilder(_authorizationEndpoint);
            builder.AppendQueryArgs(
                new Dictionary<string, string> {
                    { "client_id", _appId },
                    { "response_type", "code" },
                    { "redirect_uri", returnUrl.AbsoluteUri },
                });

            return builder.Uri;
        }