Commit Graph

12 Commits

Author SHA1 Message Date
Dain Nilsson a7f3c51aca
Allow passing string value 2024-03-04 09:57:37 +01:00
Dain Nilsson 37224ea93c
Enable postponed evaluation of annotations. 2022-04-22 09:02:37 +02:00
Dain Nilsson fd30409b03
Improve type safety. 2022-03-23 17:41:37 +01:00
Dain Nilsson 07a65065e9
Refactor client classes.
- Introduce UserInteraction to query for PIN, UV, etc. (replaces passing
PIN directly).
- Enable Extensions to require PIN/UV token (needed for LargeBlobs).
- Update examples and tests.
2021-08-27 15:31:59 +02:00
Dain Nilsson ad373825ea
Remove unneeded params to super(). 2021-08-20 10:51:26 +02:00
Dain Nilsson 11e0a8dd2f
Fix/cleanup examples. 2021-08-19 14:10:28 +02:00
Dain Nilsson fed257922c
More mypy checks/fixes. 2021-08-19 10:31:20 +02:00
Dain Nilsson eae65b57a0
Merge branch 'drop-py2' into next-py3. 2021-08-18 17:25:04 +02:00
Dain Nilsson e9e56457d7
More UV updates.
- Sync CTAP error codes from spec.
- Forward event and on_keepalive to ClientPin for get_uv_token.
2021-02-21 13:53:18 +01:00
Dain Nilsson 1c45c611fb
Remove __future__ imports. 2021-01-31 16:36:26 +01:00
Dain Nilsson 507818c95e
Allow explicit pin protocol for HmacSecretExtension. 2020-11-30 17:42:52 +01:00
Dain Nilsson d44a7d6d3e
Refactor extensions.
- Fido2Client optionally takes extension_types (default: all)
- Client make_credential and get_assertion now return objects containing
extension outputs.
2020-10-30 15:02:56 +01:00