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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user