Skip to content

Releases: Kros-sk/Kros.AspNetCore

Kros.Swagger.Extensions 3.1.1

09 Jan 07:02
70289aa
Compare
Choose a tag to compare

Changes

  • Update packages.

Kros.ProblemDetails.Extensions 3.0.1

09 Jan 07:01
70289aa
Compare
Choose a tag to compare

Changes

  • Update packages.

Kros.MediatR.Extensions 3.0.1

09 Jan 07:01
70289aa
Compare
Choose a tag to compare

Changes

  • Update packages.

Kros.MassTransit.AzureServiceBus 3.0.2

09 Jan 07:00
70289aa
Compare
Choose a tag to compare

Changes

  • Update packages.

Kros.AspNetCore 4.1.2

09 Jan 06:59
70289aa
Compare
Choose a tag to compare

Changes

  • Update packages.

Kros.ApplicationInsights.Extensions 3.0.3

09 Jan 06:58
70289aa
Compare
Choose a tag to compare

appinsights-v3.0.2

12 Jul 07:31
00cf0e1
Compare
Choose a tag to compare

What's Changed

Kros.Swagger.Extensions 3.1.0

01 Jul 09:44
5096796
Compare
Choose a tag to compare

Support authorization in Swagger

  • SwaggerDocumentation section is no longer required in configuration (appsettings.json).
  • New class SwaggerSettings for settings is created. It inherits OpenApiInfo, so everything what worked before still works. It just introduces new properties to properly setup authorization.
  • If client sets up authorization in configuration, it must also add some operation filter, which will add security requirement for operations which will use authorization.
    • No global operation filter is setup. Until now, there was global operation filter added and so all operations (even anonymous) were using authorization.
    • there are 2 operation filters defined, which can be used in when configuring client:
      • ClearSecurityRequirementsFromAnonymousEndpoints: this is suitable for APIs, where by default all endpoints are authorized and the anonymous ones are marked with AllowAnonymous attribute.
      • SetSecurityRequirementsToAuthorizedEndpoints: this is suitable for APIs, where by default all endpoints are anonymous and the authorized ones are marked with Authorize attribute.

Kros.AspNetCore 4.1.1

26 Mar 14:32
5b4c49f
Compare
Choose a tag to compare

Kros.AspNetCore 4.1.0

26 Mar 13:13
558440a
Compare
Choose a tag to compare
  • #195 Added extension method MapSignalRHubWithOptions to utilize setting it @bakosk