Skip to content

Commit

Permalink
Add mention of Pydantic for structs
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Oct 15, 2021
1 parent a7a3a97 commit 2e1171c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2e1171c

Please sign in to comment.