FastAPI-UI-Auth 0.4.0__py3-none-any.whl → 0.4.0a0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: FastAPI-UI-Auth
3
- Version: 0.4.0
3
+ Version: 0.4.0a0
4
4
  Summary: Python module to add username and password authentication to specific FastAPI routes
5
5
  Project-URL: Homepage, https://github.com/thevickypedia/FastAPI-UI-Auth
6
6
  Project-URL: Source, https://github.com/thevickypedia/FastAPI-UI-Auth
@@ -1,5 +1,5 @@
1
- fastapi_ui_auth-0.4.0.dist-info/licenses/LICENSE,sha256=_sOIKJWdD2o1WwwDIwYB2qTP2nlSWqT5Tyg9jr1Xa4w,1070
2
- uiauth/__init__.py,sha256=O81sfpkVE91Kg0rWUzeKO7Uh_NUnqYkMC8SHicbOcdw,3331
1
+ fastapi_ui_auth-0.4.0a0.dist-info/licenses/LICENSE,sha256=_sOIKJWdD2o1WwwDIwYB2qTP2nlSWqT5Tyg9jr1Xa4w,1070
2
+ uiauth/__init__.py,sha256=bkIaE5hK-oDk97RuVSKAfdVcOOsgCq8Q9nKOhiEWcCE,3307
3
3
  uiauth/endpoints.py,sha256=MIufjkQP0DOlX99gnJQYA8VJ7iitKLtmeU8wF83AYso,3020
4
4
  uiauth/enums.py,sha256=W_9U2luXbscyBEROXqEhKY5DHpJRV1J4VUOpkyUOOzU,334
5
5
  uiauth/logger.py,sha256=z67PBMs4zWOfy-Gfm_41dj5Uulm-ChvZxB_jmYKKXeI,391
@@ -8,13 +8,13 @@ uiauth/otp.py,sha256=oIucQ8aUVzCq-p2w0efkQa0ZwWAQEFBwhmnwoovDw_k,1759
8
8
  uiauth/secure.py,sha256=ZIhiFlkL6P5tcIwnfJ4zaGIIN9gNHq_ddgShKaJ10NM,1267
9
9
  uiauth/service.py,sha256=Bz3qgOqkRAsJ5Nf27z0Nfq9FeD7mZdQ__AgzWjNZXzo,8484
10
10
  uiauth/utils.py,sha256=1vTdMcEVucofnsdKuGkaMZwtckPhOi_D0K0rx7pSWqk,7588
11
- uiauth/version.py,sha256=yhiWOz0HoJGRRI9-JQ2eh_0AbByy-6psK08-kpTSHJw,18
11
+ uiauth/version.py,sha256=vd8LWnkBPrvy6yVQjDXBrRaBpNpQeCNI9yGkt3_yHls,20
12
12
  uiauth/templates/index.html,sha256=AMqKDELuORy84iglbglU0Aey42Ml64jOb3hgYcCyYRw,9626
13
13
  uiauth/templates/logout.html,sha256=JrWBJCbK1E4NfrNipMsLzfJ_-Fs2C6D4S0B6O7JNoek,3504
14
14
  uiauth/templates/session.html,sha256=EL4gajOED3IcOnrALMiJ2SzJl2at8GFfruTuExhgOVI,3040
15
15
  uiauth/templates/unauthorized.html,sha256=ahv78zLM04_Lu83LdX0Ua_toKeP5JZkYsTCWCrfCvHA,3002
16
- fastapi_ui_auth-0.4.0.dist-info/METADATA,sha256=d13AaIFPFyZDPdRtYsTZ0ndN0cmeN6vUEYRvGEWb1VY,4559
17
- fastapi_ui_auth-0.4.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
18
- fastapi_ui_auth-0.4.0.dist-info/entry_points.txt,sha256=UtbIj-rQknrrs0A6kMPrhkXHBadmPcAeVwm0iVhWKXg,72
19
- fastapi_ui_auth-0.4.0.dist-info/top_level.txt,sha256=ra3nGTbDTgQ7eChlkngJ7xGXhSCeFTWMvb_b6q8uPVA,7
20
- fastapi_ui_auth-0.4.0.dist-info/RECORD,,
16
+ fastapi_ui_auth-0.4.0a0.dist-info/METADATA,sha256=CXcmjbzFq5ofQ0FmZ_rTO-luOem4LayZVK2l_cj0AH4,4561
17
+ fastapi_ui_auth-0.4.0a0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
18
+ fastapi_ui_auth-0.4.0a0.dist-info/entry_points.txt,sha256=UtbIj-rQknrrs0A6kMPrhkXHBadmPcAeVwm0iVhWKXg,72
19
+ fastapi_ui_auth-0.4.0a0.dist-info/top_level.txt,sha256=ra3nGTbDTgQ7eChlkngJ7xGXhSCeFTWMvb_b6q8uPVA,7
20
+ fastapi_ui_auth-0.4.0a0.dist-info/RECORD,,
uiauth/__init__.py CHANGED
@@ -31,7 +31,7 @@ def _totp() -> None:
31
31
  print(
32
32
  f"Usage: uiauth-totp [arbitrary-command]\nOptions (and corresponding behavior):{choices}"
33
33
  )
34
- raise SystemExit(0)
34
+ exit(0)
35
35
 
36
36
  app = None
37
37
  user = None
@@ -76,7 +76,7 @@ def _totp() -> None:
76
76
  "Missing required options. Using default values for missing options:\n"
77
77
  f"Please choose from {choices}"
78
78
  )
79
- raise SystemExit(1)
79
+ exit(1)
80
80
 
81
81
  config = OTPConfig(
82
82
  qr_filename=filename, authenticator_user=user, authenticator_app=app
uiauth/version.py CHANGED
@@ -1 +1 @@
1
- version = "0.4.0"
1
+ version = "0.4.0a0"