File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -442,12 +442,16 @@ def _make_internal_state(
442
442
}
443
443
444
444
445
+ # TODO 2.0: Delete, or move to an example
445
446
def verify_app_id (app_id : str , origin : str ) -> bool :
446
447
"""Checks if a FIDO U2F App ID is usable for a given origin.
447
448
448
449
:param app_id: The App ID to validate.
449
450
:param origin: The origin of the request.
450
451
:return: True if the App ID is usable by the origin, False if not.
452
+
453
+ .. deprecated:: 1.2.0
454
+ This will be removed in python-fido2 2.0.
451
455
"""
452
456
url = urlparse (app_id )
453
457
hostname = url .hostname
@@ -461,6 +465,7 @@ def verify_app_id(app_id: str, origin: str) -> bool:
461
465
return verify_rp_id (hostname , origin )
462
466
463
467
468
+ # TODO 2.0: Delete, or move to an example
464
469
class U2FFido2Server (Fido2Server ):
465
470
"""Fido2Server which can be used with existing U2F credentials.
466
471
@@ -473,6 +478,9 @@ class U2FFido2Server(Fido2Server):
473
478
origin for U2F credentials.
474
479
475
480
For other parameters, see Fido2Server.
481
+
482
+ .. deprecated:: 1.2.0
483
+ This will be removed in python-fido2 2.0.
476
484
"""
477
485
478
486
def __init__ (
You can’t perform that action at this time.
0 commit comments