Merge pull request #2358 from Bond-009/tests

Enable TreatWarningsAsErrors and Nullable for test projects
This commit is contained in:
dkanada
2020-02-14 00:31:00 +09:00
committed by GitHub
8 changed files with 21 additions and 10 deletions

View File

@@ -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);
}
}