Separated session management from its FastAPI-dependent parts, creating authsession.py on main level.

Startup/main/scripts cleanup, now runs with passkey-auth command that takes CLI arguments.
This commit is contained in:
2025-08-05 21:02:49 +00:00
parent 9d0c97f403
commit a4101e708a
10 changed files with 193 additions and 98 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ ignore = ["E501"] # Line too long
known-first-party = ["passkey"]
[project.scripts]
serve = "passkey.main:main"
passkey-auth = "passkey.fastapi.__main__:main"
[tool.hatch.build]
artifacts = ["passkeyauth/frontend-static"]