aboutsummaryrefslogtreecommitdiff
path: root/Psso/Identity.php
diff options
context:
space:
mode:
Diffstat (limited to 'Psso/Identity.php')
-rw-r--r--Psso/Identity.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/Psso/Identity.php b/Psso/Identity.php
new file mode 100644
index 0000000..68272d4
--- /dev/null
+++ b/Psso/Identity.php
@@ -0,0 +1,12 @@
+<?php
+namespace Psso;
+
+class Identity {
+ public protected(set) string $user;
+ public protected(set) array $groups;
+
+ public function __construct(string $user, array $groups = []) {
+ $this->user = $user;
+ $this->groups = $groups;
+ }
+}