diff options
| author | Bond_009 <Bond.009@outlook.com> | 2020-01-31 22:46:10 +0100 |
|---|---|---|
| committer | Bond_009 <Bond.009@outlook.com> | 2020-01-31 22:46:10 +0100 |
| commit | 71abf1d3ce915289cf952a6d581a50d83fa9b259 (patch) | |
| tree | 4b29b3962703c92b632bbd571b9068bcefe8262b /MediaBrowser.Controller/Net | |
| parent | cd13f718fb52c507512615fad08e3c3670834163 (diff) | |
Enable TreatWarningsAsErrors and Nullable for test projects
Diffstat (limited to 'MediaBrowser.Controller/Net')
| -rw-r--r-- | MediaBrowser.Controller/Net/IAuthService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Net/IAuthService.cs b/MediaBrowser.Controller/Net/IAuthService.cs index 4c9120e0c..9132404a0 100644 --- a/MediaBrowser.Controller/Net/IAuthService.cs +++ b/MediaBrowser.Controller/Net/IAuthService.cs @@ -1,3 +1,5 @@ +#nullable enable + using MediaBrowser.Controller.Entities; using MediaBrowser.Model.Services; using Microsoft.AspNetCore.Http; @@ -7,6 +9,6 @@ namespace MediaBrowser.Controller.Net public interface IAuthService { void Authenticate(IRequest request, IAuthenticationAttributes authAttribtues); - User Authenticate(HttpRequest request, IAuthenticationAttributes authAttribtues); + User? Authenticate(HttpRequest request, IAuthenticationAttributes authAttribtues); } } |
