Skip to content

Commit

Permalink
Make some code formatting more Pythonic
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Aug 17, 2024
1 parent d201262 commit fe44d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ from webauthn.helpers.structs import (

# Simple Options
simple_authentication_options = generate_authentication_options(
rp_id="example.com",
rp_id="example.com",
)

# Complex Options
Expand All @@ -29,7 +29,7 @@ complex_authentication_options = generate_authentication_options(
challenge=b"1234567890",
timeout=12000,
allow_credentials=[PublicKeyCredentialDescriptor(
id=b"1234567890",
id=b"1234567890",
)],
user_verification=UserVerificationRequirement.REQUIRED,
)
Expand Down

0 comments on commit fe44d6d

Please sign in to comment.