We could still enforce that exactly one response of the correct type is generated by consuming the responder and producing a Token that needs to be returned.
Goals:
avoid allocations
reduce stack usage and binary size
reduce code duplication in ctap-types (owned and borrowed)
reduce the need for fixed-sized buffers (reduce maintenance and complexity)
To avoid the need for owned
Response
types, we should investigate the use of a callback-based API in theAuthenticator
traits:Or:
We could still enforce that exactly one response of the correct type is generated by consuming the
responder
and producing aToken
that needs to be returned.Goals: