Skip to content

Conversation

msirringhaus
Copy link
Contributor

It is a bit annoying that the credBlob-extension can be, depending on the situation, a boolean (MakeCredentialResponse, GetAssertion) or a ByteBuf (MakeCredential, GetAssertionResponse), but we use the same Extension-struct everywhere.
I thus opted for a not completely type-safe enum-API for the credBlob-extensions, even though this means theoretically, that a user could 'use it wrong', and send a ByteBuf into a GetAssertion-request. The token should in most cases error out, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant