-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
nArchitecture.Core/src/Core.Application/Pipelines/Authorization/AuthorizationBehavior.cs
Line 27 in 5926517
throw new AuthorizationException("You are not authenticated."); |
Burada UserClaim'lerin boş olması durumunda AuthorizationException yerine AuthenticationException verse,
nArchitecture.Core/src/Core.CrossCuttingConcerns.Exception/Handlers/ExceptionHandler.cs
Line 5 in 5926517
public abstract class ExceptionHandler |
Burada da AuthenticationException ele alınıp AuthorizationException ise 403 AuthenticationException ise 401 dönse doğru bir yaklaşım olur mu?
Metadata
Metadata
Assignees
Labels
No labels