Stability | experimental |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
A set of types representing credential options (CredentialOptions
)
and their resulting credentials responses (Credential
).
Also includes a set of functions for indirectly encoding credential
options to JSON (encodeCredentialOptionsRegistration
,
encodeCredentialOptionsAuthentication
) and indirectly decoding
credential responses from JSON (decodeCredentialRegistration
,
decodeCredentialAuthentication
), using the same encoding as
webauthn-json which can be
used on the JavaScript side.
The types in this module form one way the library represents the WebAuthn types, another are the internal WebIDL modules, which is a lower-level, more one-to-one mapping. As a user of the library, you will most likely use the representation in this module over the one in the WebIDL modules.
This module is reexported by the Crypto.WebAuthn module, which is the preferred way of using it.
Documentation
module Crypto.WebAuthn.Model.Kinds
module Crypto.WebAuthn.Model.Types
module Crypto.WebAuthn.Model.WebIDL
module Crypto.WebAuthn.Cose.Key