diff options
| author | crobibero <cody@robibe.ro> | 2020-06-01 12:42:59 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-01 12:42:59 -0600 |
| commit | e30a85025f3d0f8b936827613239da7c2c2387c2 (patch) | |
| tree | 276bad469c5891aa7263b7e42a457b68c18e7683 /MediaBrowser.Controller/Net/AuthenticatedAttribute.cs | |
| parent | b944b8f8c54963f61eee5eeb97cd1745ae42ac50 (diff) | |
Remove log spam when using legacy api
Diffstat (limited to 'MediaBrowser.Controller/Net/AuthenticatedAttribute.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/AuthenticatedAttribute.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs b/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs index 29fb81e32..9f2743ea1 100644 --- a/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs +++ b/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs @@ -52,6 +52,8 @@ namespace MediaBrowser.Controller.Net return (Roles ?? string.Empty).Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); } + public bool IgnoreLegacyAuth { get; set; } + public bool AllowLocalOnly { get; set; } } @@ -63,5 +65,7 @@ namespace MediaBrowser.Controller.Net bool AllowLocalOnly { get; } string[] GetRoles(); + + bool IgnoreLegacyAuth { get; } } } |
