From 2331c7647a6562290b655884002f1963b9b4e940 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 15 Oct 2021 10:12:32 -0700 Subject: [PATCH 1/3] Add mention of `webauthn.helpers.structs` --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aceefa8..3d103c0 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Two additional helper methods are also exposed: - `options_to_json()` - `base64url_to_bytes()` +Additional data structures are available on `webauthn.helpers.structs`. These are useful for constructing inputs to the methods above, and for type hinting. + ### Registration See **examples/registration.py** for practical examples of using `generate_registration_options()` and `verify_registration_response()`. From a7a3a97c2a6573cc39e02b0201a4854090a50ec3 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 15 Oct 2021 10:12:44 -0700 Subject: [PATCH 2/3] Drop beta tag --- webauthn/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webauthn/__init__.py b/webauthn/__init__.py index 0d509b2..d0d12e3 100644 --- a/webauthn/__init__.py +++ b/webauthn/__init__.py @@ -4,4 +4,4 @@ from .authentication.verify_authentication_response import verify_authentication_response from .helpers import base64url_to_bytes, options_to_json -__version__ = "1.0.0-beta2" +__version__ = "1.0.0" From 2e1171cd7510eff61213a4159c39e9d6d2970ac1 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 15 Oct 2021 10:16:37 -0700 Subject: [PATCH 3/3] Add mention of Pydantic for structs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d103c0..518a953 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Two additional helper methods are also exposed: - `options_to_json()` - `base64url_to_bytes()` -Additional data structures are available on `webauthn.helpers.structs`. These are useful for constructing inputs to the methods above, and for type hinting. +Additional data structures are available on `webauthn.helpers.structs`. These are useful for constructing inputs to the methods above, and for type hinting. These [Pydantic-powered](https://pydantic-docs.helpmanual.io/) dataclasses provide runtime data validation to help ensure consistency in the shape of data being passed around. ### Registration