diff --git a/src/Authentication/Authenticator.php b/src/Authentication/Authenticator.php index 671ce13..3784d5a 100644 --- a/src/Authentication/Authenticator.php +++ b/src/Authentication/Authenticator.php @@ -6,6 +6,8 @@ use Illuminate\Http\Client\PendingRequest; abstract class Authenticator { + protected static string $path = __DIR__ . '/../../.cookies'; + abstract public function login(int $mglnr, string $password): self; abstract public function purge(): void; @@ -16,8 +18,6 @@ abstract class Authenticator abstract public function refresh(): void; - protected static string $path = __DIR__.'/../../.cookies'; - public static function setPath(string $path): void { static::$path = $path;