diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-08-22 21:56:24 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-08-22 21:56:24 +0200 |
| commit | 404bb4f83521760b3e9eeb748ab21d9056c4c023 (patch) | |
| tree | 79f98f80eb9d3e610486346278517953edb534e3 /MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs | |
| parent | 92c491397eb81ed0d9349f11036c9f3a1e2be2e4 (diff) | |
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs')
| -rw-r--r-- | MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs b/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs index 15c9027774..ecdffa2ebe 100644 --- a/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs +++ b/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs @@ -1,3 +1,5 @@ +#pragma warning disable CS1591 + using System.Threading.Tasks; using Jellyfin.Data.Entities; using MediaBrowser.Model.Users; @@ -11,7 +13,9 @@ namespace MediaBrowser.Controller.Authentication bool IsEnabled { get; } Task<ProviderAuthenticationResult> Authenticate(string username, string password); + bool HasPassword(User user); + Task ChangePassword(User user, string newPassword); } |
