aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/src/Auth/AuthProviderInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/app/src/Auth/AuthProviderInterface.php')
-rw-r--r--services/app/src/Auth/AuthProviderInterface.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/app/src/Auth/AuthProviderInterface.php b/services/app/src/Auth/AuthProviderInterface.php
new file mode 100644
index 0000000..19122f6
--- /dev/null
+++ b/services/app/src/Auth/AuthProviderInterface.php
@@ -0,0 +1,10 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Albatross\Auth;
+
+interface AuthProviderInterface
+{
+ public function login(string $username, string $password): AuthenticationResult;
+}