aboutsummaryrefslogtreecommitdiff
path: root/Psso/AuthFlow.php
diff options
context:
space:
mode:
Diffstat (limited to 'Psso/AuthFlow.php')
-rw-r--r--Psso/AuthFlow.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/Psso/AuthFlow.php b/Psso/AuthFlow.php
new file mode 100644
index 0000000..c2a68ac
--- /dev/null
+++ b/Psso/AuthFlow.php
@@ -0,0 +1,9 @@
+<?php
+namespace Psso;
+
+abstract class AuthFlow {
+ public static function nextStep(Context $context) {
+ $last = array_last($context->results);
+ return eval(file_get_contents(__DIR__ . '/../auth-flow.conf.php'));
+ }
+}