diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2026-03-05 14:57:28 +0100 |
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2026-03-05 14:57:28 +0100 |
| commit | bd11271621bd3759cfd194ed0119c0dc28155fd0 (patch) | |
| tree | 319b4790d4e2b05513abf023732ed6fb0717f603 /src/Types/LoginFlow.php | |
| parent | 2386148b8f048ba40d9f26cc97898bdcdc778ea2 (diff) | |
Diffstat (limited to 'src/Types/LoginFlow.php')
| -rw-r--r-- | src/Types/LoginFlow.php | 27 |
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; - } -} |
