summaryrefslogtreecommitdiff
path: root/src/Types/LoginFlow.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2026-03-05 14:57:28 +0100
committerDaniel Weipert <git@mail.dweipert.de>2026-03-05 14:57:28 +0100
commitbd11271621bd3759cfd194ed0119c0dc28155fd0 (patch)
tree319b4790d4e2b05513abf023732ed6fb0717f603 /src/Types/LoginFlow.php
parent2386148b8f048ba40d9f26cc97898bdcdc778ea2 (diff)
updateHEADmain
Diffstat (limited to 'src/Types/LoginFlow.php')
-rw-r--r--src/Types/LoginFlow.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Types/LoginFlow.php b/src/Types/LoginFlow.php
deleted file mode 100644
index bd948a8..0000000
--- a/src/Types/LoginFlow.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-namespace App\Types;
-
-use App\Support\ArrayTransformable;
-
-class LoginFlow implements ArrayTransformable
-{
- public function __construct(
- private LoginType $type,
- private bool $get_login_token = false,
- )
- {}
-
- public function toArray(): array
- {
- $flow = [
- "type" => $this->type,
- ];
-
- if ($this->type == LoginType::TOKEN) {
- $flow["get_login_token"] = $this->get_login_token;
- }
-
- return $flow;
- }
-}