Fixed param order

pull/14409/head
Galip Tolga Erdem 3 years ago
parent f5101c69e6
commit e1505ab58e

@ -33,9 +33,9 @@ public static class AbpSwaggerGenServiceCollectionExtensions
this IServiceCollection services,
[NotNull] string authority,
[NotNull] Dictionary<string, string> scopes,
Action<SwaggerGenOptions> setupAction = null,
string authorizationEndpoint = "/connect/authorize",
string tokenEndpoint = "/connect/token",
Action<SwaggerGenOptions> setupAction = null)
string tokenEndpoint = "/connect/token")
{
var authorizationUrl = new Uri($"{authority.TrimEnd('/')}{authorizationEndpoint.EnsureStartsWith('/')}");
var tokenUrl = new Uri($"{authority.TrimEnd('/')}{tokenEndpoint.EnsureStartsWith('/')}");

Loading…
Cancel
Save