You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any authenticator indicates success,
[...]
3. Let constructCredentialAlg be an algorithm that takes a global objectglobal, and whose steps are:
[...]
5. Return constructCredentialAlg and terminate this algorithm.
If any authenticator indicates success,
[...]
5. Let constructAssertionAlg be an algorithm that takes a global objectglobal, and whose steps are:
[...]
7. Return constructAssertionAlg and terminate this algorithm.
So what's returned is just the procedure for how to create the PublicKeyCredential result, not the result itself.
Proposed Change
It seems like these final steps should instead read:
Let global be the [=relevant global object=], as determined by the calling {{CredentialsContainer/create()}} implementation. Return constructCredentialAlg(global) and terminate this algorithm.
The text was updated successfully, but these errors were encountered:
I can't find any similar language for get, though. And I'm a bit confused, because it seems like §2.5.4. Create a Credential can accept either a Credential (step 2 below) or an algorithm that produces a Credential (steps 3-4):
Both §5.1.3. Create a New Credential and §5.1.4. Use an Existing Credential to Make an Assertion currently resolve with:
So what's returned is just the procedure for how to create the
PublicKeyCredential
result, not the result itself.Proposed Change
It seems like these final steps should instead read:
The text was updated successfully, but these errors were encountered: