aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Authentication/AuthenticationException.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-04-13 13:17:46 -0400
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-04-13 13:17:46 -0400
commit53380689ad00f00efc0c1790f1d25d08c95d7f2d (patch)
tree8ab0d53b8242902bbf69e10fbacd1e3b360543ca /MediaBrowser.Controller/Authentication/AuthenticationException.cs
parent6d35dd6b326b98995e363c64083a2ca46b2582fd (diff)
Return correct status codes for authentication and authorization errors
- Use AuthenticatonException to return 401 - Use SecurityException to return 403 - Update existing throws to throw the correct exception for the circumstance
Diffstat (limited to 'MediaBrowser.Controller/Authentication/AuthenticationException.cs')
0 files changed, 0 insertions, 0 deletions