Skip to content
Discussion options

You must be logged in to vote

PR for context

As mentioned in the PR, the base class was removed because the library never utilised the fields.

If an API method of the library fails, it would throw and exception. You should catch it and "consume" it any way that is meaningful to your app.

In the demo we return a json value that has the status variable and an error message: https://github.com/passwordless-lib/fido2-net-lib/blob/main/Demo/Controller.cs#L83. In our demo app, I believe we only ever set status to "error".

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vt-haizawa
Comment options

Answer selected by abergs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants