webauthn::WebAuthn method assert_clientdata_json (protected)

 <instance of webauthn::WebAuthn[i]> assert_clientdata_json \
    [ -clientData_raw clientData_raw ] \
    [ -expected_type expected_type ] \
    [ -expected_challenge expected_challenge ] \
    [ -expected_origin expected_origin ]

Defined in packages/webauthn/tcl/webauthn-procs.tcl

clientDataJSON is bytes (as received). We decode and validate: - type - challenge - origin

Switches:
-clientData_raw (optional)
-expected_type (optional)
-expected_challenge (optional)
-expected_origin (optional)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: