-
### Description
I have warning **S2589** for `list.Count == 0` but I'm sure it is false positive.
### Repro steps
Please find code below:
```csharp
public void Apply(OpenApiOperatio…
-
Hi,
I would like to display the roles required for each endpoint in the Swagger-UI (from the [Authorize] attribute).
Is there a straight forward way to do this ?
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
To learn how auth works in Blazor, I'm writing a minimal implementation from scratch. In the …
-
Hi, I am following you[ instructions on an ASP MVC 5 (4.6.2) site and trying to understand this comment from Stack Overflow](http://stackoverflow.com/questions/36321447/mvcsitemapprovider-not-picking-…
papyr updated
8 years ago
-
I have an openAPI3 document as per https://swagger.io/docs/specification/authentication/
```
openapi: 3.0.0
# Added by API Auto Mocking Plugin
info:
version: "1.0.0"
title: ...
security:
…
-
Many OrchardCore modules (including the OpenID module) use `IAuthorizationService.AuthorizeAsync` to determine whether a user is allowed to perform a given action:
```csharp
if (!await _authorizat…
-
`OperationSecurityScopeProcessor` currently only looks for `AuthorizeAttribute` but ignores `AllowAnonymousAttribute` which is designed to override `AuthorizeAttribute` when both are declared.
So i…
-
I'm finding that any API which uses:
`[Authorize(Role.Admin)]`
never gets called, due to Authorization failure even for Admin defined users. I'm guessing this is because there is a class called…
jaybo updated
3 years ago
-
I am a contributor on the [MvcSiteMapProvider](https://github.com/maartenba/MvcSiteMapProvider) project and recently discovered that some of our users are interested in configuring security "in one pl…
-
OperationSecurityScopeProcessor [looks at `Roles` of an `AuthorizeAttribute` but ignores it if there are no roles given](https://github.com/RSuter/NSwag/blob/master/src/NSwag.SwaggerGeneration/Process…