-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose AuthenticatorResponse
methods?
#25
Comments
If anyone would like to be able to use these, it would help if you could leave a comment to let us know! Otherwise this might not be a priority. |
I would love to see |
I agree with adding the I'm also willing to contribute a PR to make that happen. 🙂 I was about to reference webauthn-json in the java-webauthn-server quickstart instructions - in order to get transports and extensions and all that through, but avoid the base64 (de)coding distractions - but unfortunately that won't quite work without this. |
I think a PR to add transports would be great! |
Alright, PR is open: #44 ! 🙂 |
Chrome 85 is adding:
getPublicKey()
getPublicKeyAlgorithm()
getAuthenticatorData()
There's also
getTransports()
.https://w3c.github.io/webauthn/#iface-authenticatorattestationresponse
We could:
base64url
conversion to help with this.)baseurl64
.getClientExtensionResults()
already).The latter is the most convenient, but it results in extra data. The simple use case for
@github/webauthn-json
is to send the results to the server, which still has to process the response from CBOR. These methods would not really be useful for this case.However, there are cases where you might want to do some or all processing on the client side, where this could save code.
The text was updated successfully, but these errors were encountered: