aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorDrPandemic <bipbip500@gmail.com>2019-05-25 13:46:55 -0400
committerDrPandemic <bipbip500@gmail.com>2019-05-25 13:46:55 -0400
commit69ee49bee607d716a857a1525f503575ebf6db7f (patch)
tree462e6ae4f0ee2b7c4ec1d0cc88c3c3a2ed095aef /MediaBrowser.Controller
parent1bf3a26a6194c6a5878f1e4c98ed953103ac7b71 (diff)
Format correctly the PIN when updating it
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs b/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs
index b9f282bd2..2cf531eed 100644
--- a/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs
+++ b/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs
@@ -11,6 +11,9 @@ namespace MediaBrowser.Controller.Authentication
Task<ProviderAuthenticationResult> Authenticate(string username, string password);
Task<bool> HasPassword(User user);
Task ChangePassword(User user, string newPassword);
+ void ChangeEasyPassword(User user, string newPassword, string newPasswordHash);
+ string GetPasswordHash(User user);
+ string GetEasyPasswordHash(User user);
}
public interface IRequiresResolvedUser