diff options
| author | winter Sparkles | 2026-08-09 15:44:18 +0100 |
|---|---|---|
| committer | winter Sparkles | 2026-08-09 15:44:18 +0100 |
| commit | 96387025da63025894f6259f7eebed0fc6fc53ac (patch) | |
| tree | a83d73eeb7ec419b24ff78291634503d4ebceec1 /Psso/AuthInterface | |
| parent | c8998ccdff070d7c73a634e031a041260b87c3b1 (diff) | |
implement the rest of login process incl. cookie redirects and 'next'
Diffstat (limited to 'Psso/AuthInterface')
| -rw-r--r-- | Psso/AuthInterface/Groups.php | 6 | ||||
| -rw-r--r-- | Psso/AuthInterface/UserExtra.php | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Psso/AuthInterface/Groups.php b/Psso/AuthInterface/Groups.php new file mode 100644 index 0000000..463fd0b --- /dev/null +++ b/Psso/AuthInterface/Groups.php @@ -0,0 +1,6 @@ +<?php +namespace Psso\AuthInterface; + +interface Groups { + public function userGroups(string $username): array; +} diff --git a/Psso/AuthInterface/UserExtra.php b/Psso/AuthInterface/UserExtra.php new file mode 100644 index 0000000..3a3de93 --- /dev/null +++ b/Psso/AuthInterface/UserExtra.php @@ -0,0 +1,7 @@ +<?php +namespace Psso\AuthInterface; + +interface UserExtra { + public function userDisplayName(string $username): ?string; + public function userEmailAddress(string $username): ?string; +} |
