aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Authentication
diff options
context:
space:
mode:
authorAnthony Lavado <anthonylavado@users.noreply.github.com>2019-05-31 00:58:53 -0400
committerGitHub <noreply@github.com>2019-05-31 00:58:53 -0400
commit75260a960bf074f36fd3eee1e9ecd6665b805814 (patch)
tree462e6ae4f0ee2b7c4ec1d0cc88c3c3a2ed095aef /MediaBrowser.Controller/Authentication
parent1bf3a26a6194c6a5878f1e4c98ed953103ac7b71 (diff)
parent69ee49bee607d716a857a1525f503575ebf6db7f (diff)
Merge pull request #1406 from DrPandemic/fix-pin-update
Format the PIN when updating it
Diffstat (limited to 'MediaBrowser.Controller/Authentication')
-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