tweag / webauthn

A library for parsing and validating webauthn/fido2 credentials
Apache License 2.0
34 stars 11 forks source link

Simplify server example, drop singletons #113

Closed lykahb closed 2 years ago

lykahb commented 2 years ago

Now understanding the example does not require knowledge of singletons. The type safety is still preserved.

infinisil commented 2 years ago

My suggestion from https://github.com/tweag/webauthn/pull/113#discussion_r790700382 is implemented in #130 for now. The PendingOps module (or rather PendingCeremonies now) might still be dropped in the future when we update the server to store the pending ceremonies in the database instead.