diff options
Diffstat (limited to 'Services/PrincipalProvider.cs')
| -rw-r--r-- | Services/PrincipalProvider.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Services/PrincipalProvider.cs b/Services/PrincipalProvider.cs new file mode 100644 index 0000000..e75c6c7 --- /dev/null +++ b/Services/PrincipalProvider.cs @@ -0,0 +1,9 @@ +namespace HyperBooru.Services; + +public abstract class PrincipalProvider { + public abstract bool ValidatePassword(HBPrincipal principal, string password); + + public abstract HBPrincipal GetPrincipal(string username); + + public abstract Group[] GetAllGroups(HBPrincipal principal); +} |
