diff options
| author | crobibero <cody@robibe.ro> | 2020-12-01 14:47:42 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-12-01 14:47:42 -0700 |
| commit | cd459c51f3d8a6a46a802759df1620ec43e5d2ae (patch) | |
| tree | d43a8609b771876845f2a86daffd2ff11db1fa1e /MediaBrowser.Controller/Net/AuthorizationInfo.cs | |
| parent | 38b3b4f8672373c8e1ac2e509d759fe07d179146 (diff) | |
Return NoResult only when request doesn't have a token.
Diffstat (limited to 'MediaBrowser.Controller/Net/AuthorizationInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/AuthorizationInfo.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Net/AuthorizationInfo.cs b/MediaBrowser.Controller/Net/AuthorizationInfo.cs index 0194c596f..93573e08e 100644 --- a/MediaBrowser.Controller/Net/AuthorizationInfo.cs +++ b/MediaBrowser.Controller/Net/AuthorizationInfo.cs @@ -58,5 +58,10 @@ namespace MediaBrowser.Controller.Net /// Gets or sets a value indicating whether the token is authenticated. /// </summary> public bool IsAuthenticated { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether the request has a token. + /// </summary> + public bool HasToken { get; set; } } } |
